Join My public Discord Server & Follow The Twitter
* Comes with 11 pre-built strategies found in TradingStrats.py
* See Documentation below to implement your TA strategies. (currently working on new documentation)
* If you enjoy the repo please share it around to friends & tweet about it using the tweet button above 😃
or Buy me a Coffee
Set up windows to sync time once a day if you don't do this binance will eventually reject orders with a timestamp error.
Strategies are implemented in TradingStrats.py as functions and then referenced in Bot_Class.Bot.make_decision()
* Make_decision() must return Trade_Direction, stop_loss_val, take_profit_val for the strategy to work properly
* You might draw inspiration for a strategy from one of the samples in TradingStrats.py
Docs are being updated currently for the new bot
Create Custom Strategies
Create Custom TP/SL functions
Run strategies at your own risk I am not responsible for your trading decisions, futures are risky and proper risk management should be adhered to at all times, always have a stoploss
python3 live_trading.py
max_number_of_positions = 1, to trade multiple coins just increment this value.leverage and order_size should be changed according to your preferencesymbols_to_trade[] is a list of the symbols you wish to trade, If you wish to trade all symbols set trade_all_symbols = True.use_trailing_stop = True and change trailing_stop_callback to suit your strategy to use the trailing stop
(Min val .001 i.e .1%, Max 5 i.e. 5%). The trailing stop will be placed when the take profit value margin of increase/decrease is reached from your strategy.trading_strategy is the name of the strategy you want to use, see below for adding your own custom strategies.StochRSIMACD, tripleEMAStochasticRSIATR, tripleEMA, breakout, stochBB, goldenCross,
candle_wick, fibMACD, EMA_cross, heikin_ashi_ema2 & heikin_ashi_emaUSDT, %, x (ATR), x (Swing High/Low) level 1,
x (Swing High/Low) level 2, x (Swing High/Low) level 3, x (Swing Close) level 1, x (Swing Close) level 2, x (Swing Close) level 3SL_mult and TP_mult are multipliers for the TP_SL_choiceinterval you want to trade, valid intervals are: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d.Quantopian Lectures | Silicon Trader | Trade Pro | Strategy Testing | Trading Journal | The Moving Average
$ claude mcp add Binance-Futures-Trading-Bot \
-- python -m otcore.mcp_server <graph>