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

Oanda live trading reconciling positions

  • Hi,

    When implementing living trading in oanda, is backtrader reconciling its position with the actual oanda account in any way? I noticed that sometimes the position not updated property locally, which causes certain trade logic not executed. If I want to check the live position from oanda, what's the best way to implement that in the codes?

    Many Thanks,

  • @timzhang

    Perhaps you can give us an example of what is not being updated and why that is causing an issue?

    The more information the better.

Log in to reply