Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    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

    General Code/Help
    3
    4
    208
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michaelhazza last edited by

      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

      D 1 Reply Last reply Reply Quote 0
      • D
        dasch @michaelhazza last edited by

        @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

        1 Reply Last reply Reply Quote 1
        • D
          dasch last edited by

          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

          1 Reply Last reply Reply Quote 0
          • Z
            zeroq last edited by

            Hi, did you start or even finished your FXCM implementation? I just started to look into this topic a little, but i am lacking a bit of information on what functions need to be provided by the different classes and what are the expected return values for backtrader to work.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
            $(document).ready(function () { app.coldLoad(); }); }