A trading engine for developing, backtesting, and running algorithmic cryptocurrency trading strategies. The current focus is Binance spot trading.
Early stage. The repository currently holds a legacy standalone bot (kept for reference and as a starting point) while the engine itself is rebuilt from scratch.
legacy-experimental-phase/— an earlier, standalone Binance trading bot ("Weyland Yutani / Prometheus"), kept for reference. Originally written with Spanish comments and identifiers; fully translated to English.wy_function_winners_list_v03.py— connects to Binance's!ticker@arrWebSocket stream and maintains rollingWINNERS/LOSERS/SYMBOLSlists based on 24h price change.wy_multicoin_engine_v47.py— the main multi-coin trading bot: technical indicators (ADX, RSI, Bollinger Bands, MACD, ATR), a scoring/ranking system, buy/sell execution viapython-binance, Telegram notifications, and JSON/CSV persistence of trade history and candle data.
wy_multicoin_engine_v47.pyimportsload_trades_from_file,run, andget_conditionsfrom awy_autosell_module_testmodule that does not exist in this repo. The file cannot run standalone until that module is restored or the dependency is removed.TRADE_HISTORY_FILE,OPEN_TRADES_FILE, andDATAFRAMES_PATHreferencev42filenames despite living inside thev47engine file.- No dependency manifest (
requirements.txt) yet. At minimum the legacy bot needs:websocket-client,pandas,python-binance,python-telegram-bot,python-dotenv. - No automated tests.
The legacy bot reads credentials from a .env file (not committed):
BINANCE_API_TEST_KEY=...
BINANCE_API_TEST_SECRET=...
TELEGRAM_BOT_TOKEN=...
TELEGRAM_CHAT_ID=...
REAL_TRADES (inside wy_multicoin_engine_v47.py) defaults to False, meaning trades are simulated. Setting it to True places real market orders on Binance with real funds.
TBD — setup and usage instructions will be added as the engine is rebuilt.
TBD