Trading Bots

How to build and run trading bots using BinaryOptionsToolsAsync and BinaryOptionsTools.

Minimal Async Bot

import asyncio
from BinaryOptionsToolsAsync.pocketoption import PocketOptionAsync

async def main():
    api = PocketOptionAsync(ssid, demo=True)
    # Add your bot logic here
    await api.close()

asyncio.run(main())

SMA Crossover Bot Example

import pandas as pd
from BinaryOptionsTools.indicators.momentum import sma
# ...
# See examples/sma-crossoverbot.py for full code