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

FXCM broker implementation



  • Hi all,

    Firstly, this framework is phenomenal. Congrats to the creators and the community for building such a great framework.

    I'm hoping to use this to back test and trade with the FXCM api, through the fxcmpy python package.

    Has anyone had experience with this?

    I was wondering if there is an implementation of this broker yet, or if someone was kind enough to share / release their code? I'm hoping to reduce implementation time and not recreate the wheel if possible.

    I'm happy to also review responses for input into where I would start to go about building such an 'add on' for backtrader.

    Cheers



  • @michaelhazza there seems no implementation available. You can look at the oanda implementation on how to do this.
    also oanda v20 implementation: https://github.com/ftomassetti/backtrader-oandav20



  • Firstly, this framework is phenomenal. Congrats to the creators and the community for building such a great framework.

    the cudos should go to @backtrader, its his project and most of the valuable helps came from him.

    for the store:
    -important parts are feed and data from your provider
    -sending orders, also bracket_orders, when not executed, cancel connected orders
    -account info and existing orders, how to handle them


Log in to reply
 

});