BinaryOptionsToolsV1

Async tools and strategies for binary options trading

Getting Started

Tip: Always use a virtual environment and test with demo accounts first!

Install dependencies:

pip install .
pip install pandas

Minimal usage:

from BinaryOptionsToolsAsync.pocketoption import PocketOptionAsync
import asyncio

async def main():
    api = PocketOptionAsync(ssid, demo=True)
    balance = await api.balance()
    print(balance)
    await api.close()

asyncio.run(main())

Async Usage & Strategies

Fetch candles, calculate indicators, and place trades asynchronously:

import pandas as pd
candles = await api.get_candles("EURUSD_otc", period=60, duration=1200)
df = pd.DataFrame(candles)
df['SMA_5'] = df['close'].rolling(window=5).mean()
if df['close'].iloc[-1] > df['SMA_5'].iloc[-1]:
    trade_id, success = await api.buy("EURUSD_otc", amount=1, time=60)
else:
    trade_id, success = await api.sell("EURUSD_otc", amount=1, time=60)
Warning: Never hardcode your SSID in scripts. Use environment variables or config files.

API Reference

Bot Services & Products

Looking for ready-made or custom bots? Check out our Bot Services & Products powered by ChipaTrade!

Examples

See the examples/ folder in your repo for all scripts.

FAQ

How do I get my Pocket Option SSID?
  1. Open Pocket Option in your browser and log in.
  2. Open Developer Tools (F12), go to the Network tab, filter by WS (WebSocket).
  3. Refresh the page, find the WebSocket, and look for auth in the messages.
  4. Copy the message containing your session key (SSID).
Is it safe to use real money?
Always test with demo accounts first. Use strict risk management and never share your SSID.