For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

Moving backtest code to real account



  • After i choose my best algorithm to goes live, can i use the bt library for real trading or at least one way to port it to another tool?

    Regards.



  • Hi Sergio,
    You can trade live using the same framework on IB, Oanda or visual chart. See:

    https://www.backtrader.com/docu/live/live.html

    Note that you will likely need to do some tweaks to account for the differences between live and backtesting but nothing major. Also note not everything that you can do in backtesting may be available for the live broker. It depends on their API.

    Cheers


Log in to reply
 

});