integration with xbtce



  • 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


  • administrators

    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)


Log in to reply
 

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.