kernc / backtesting.py

:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
https://kernc.github.io/backtesting.py/
GNU Affero General Public License v3.0
5.39k stars 1.05k forks source link

Added live trading support #1009

Open ypogorelova opened 1 year ago

ypogorelova commented 1 year ago

Closes #81 Please see live_trading.py for usage examples

Morakhiyasaiyam commented 1 year ago

Hey how to implement other broker ? Can you make documentation upon it ?

celikcedev commented 11 months ago

Hey how to implement other broker ? Can you make documentation upon it ?

ypogorelova commented 11 months ago

Hi! Actually subscribe_to_bar_events method from broker.py is based on Binance API: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-streams. Please make sure to change URLs in env file accordingly

wishabhilash commented 9 months ago

Any plans of merging this???

JustinGuese commented 8 months ago

nice feature, but some docs would be nice, as its currently only working with coinbase right ;)? so maybe a quick readme on how to add other brokers?