Skip to content

ChipaDevTeam/PocketOptionARR_BOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PocketOption Gap Arbitrage Bot

An automated trading bot that exploits price gaps between EURUSD and EURUSD OTC on Pocket Option

Built with BinaryOptionsTools V2 by ChipaDevTeam

Discord GitHub ChipaEditor License: MIT


How It Works

The bot monitors two price feeds simultaneously — the real EURUSD market and the EURUSD_otc (OTC) market on Pocket Option. OTC prices tend to follow the real market but with a small delay, which occasionally creates temporary price gaps.

When a gap is detected that exceeds a configurable threshold, the bot places a trade on the OTC asset expecting a price correction:

Scenario Gap Direction Expected Correction Action
Real price above OTC gap > +threshold OTC will correct upward Place a CALL option
Real price below OTC gap < -threshold OTC will correct downward Place a PUT option

The larger the gap, the higher the probability of a correction — making these signals high-confidence when they occur.

Strategy Diagram

EURUSD (Real)    ──────────╲
                            ╲  Gap detected!
                            ╱  → Place trade on OTC
EURUSD_otc       ──────────╱
                                 ↓
                           OTC corrects toward
                           the real price

Features

  • Real-time dual price stream monitoring via WebSocket
  • Configurable gap threshold, trade amount, duration, and cooldown
  • Automatic trade placement (CALL / PUT) based on gap direction
  • Background trade result tracking with win/loss reporting
  • Built-in logging support
  • Cooldown system to prevent overtrading

Quick Start

Prerequisites

Installation

# Clone the repository
git clone https://github.com/ChipaDevTeam/PocketOptionARR_BOT.git
cd PocketOptionARR_BOT

# Create a virtual environment (recommended)
python -m venv .venv

# Activate it
# Windows:
.venv\Scripts\activate
# Linux/Mac:
source .venv/bin/activate

# Install the BinaryOptionsTools V2 library
pip install "https://github.com/ChipaDevTeam/BinaryOptionsTools-v2/releases/download/v0.2.9/binaryoptionstoolsv2-0.2.9-cp39-abi3-win_amd64.whl"

Running the Bot

python gap_bot.py

You will be prompted to enter your SSID. The SSID is your session token from Pocket Option — the bot auto-detects whether it's a demo or real account.

Configuration

All settings are at the top of gap_bot.py:

REAL_ASSET = "EURUSD"        # Real market asset
OTC_ASSET  = "EURUSD_otc"    # OTC market asset
GAP_THRESHOLD = 0.00130      # Minimum gap to trigger a trade
TRADE_AMOUNT = 1.0           # Trade amount in USD
TRADE_DURATION = 60          # Option expiry in seconds
COOLDOWN_SECONDS = 60        # Minimum seconds between trades

Tip: A gap of 0.001 on EUR/USD is uncommon but when it happens the correction is highly probable. Lower the threshold for more frequent (but lower confidence) signals.

Example Output

[*] Connected — Balance: 99.9

============================================================
  Gap Arbitrage Bot
  Pair: EURUSD vs EURUSD_otc
  Threshold: ±0.0013
  Trade: $1.0 / 60s
============================================================

[*] Prices received for both symbols. Monitoring gap...

  EURUSD: 1.08432  |  OTC: 1.08301  |  Gap: +0.00131 <<< SIGNAL
[TRADE] GAP +0.00131 >= +0.0013 → CALL on EURUSD_otc  ($1.0, 60s)
[OK]    Trade placed — ID: abc123
[RESULT] CALL (gap +0.00131) → WIN  | data: {...}

Powered By

BinaryOptionsTools V2

This bot is built on top of BinaryOptionsTools V2 — a fast, async Python library for connecting to Pocket Option via WebSocket. It handles authentication, real-time price streams, trade execution, and more.

Check out the full library to build your own custom strategies.

ChipaEditor

Need a browser-based coding environment? Try ChipaEditor — our new online code editor built for developers.

Get Help & Community

Disclaimer

This bot is provided for educational and research purposes only. Trading binary options involves significant risk. Past performance does not guarantee future results. Use at your own risk and always trade responsibly. Start with a demo account to test the strategy before using real funds.

License

This project is licensed under the MIT License — see the LICENSE file for details.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages