Backtrader Community

    • 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/

    integration with xbtce

    General Discussion
    4
    2
    892
    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.
    • C
      cortex last edited by

      Hello ,
      I 'm trying to see how to integrate Xbtce with BT.
      the way xbtce give the historical data is strange. there is Ask bars historical data and bidbars historical data .
      usually , I use YAhoo historical data and there is not this distinction .
      do you wich data stream should be use for trading Ask Bars or Bid bars ?
      here the link of the documentation : https://www.xbtce.cc/tradeapi

      1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators last edited by

        The de-facto Interactive Brokers uses the BID price as the reference for Forex, but you can track anything you want, including the MIDPOINT (which is obviously the middle point in between BID and ASK)

        Just a matter of choosing (and leave open what to choose via parameters)

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors