Hello, I have an algorithm ready for paper trading before going real, I have tested it with BTCUSD as ticker, BTC, and USD in the portfolio cashbook. However, following the recommendations on the documentation I have to use TESTUSD as account currency to paper trade on Bitfinex. For the algorithm to work (I mean the only combination of Symbols that allowed me to run a backtest without conversion issues), I had to change the ticker and cashbook symbols to the following:
account_currency = 'TESTUSDT' # or 'TESTUSD'
cashbook_btc = 'TESTBTC'
cashbook_usd = 'TESTUSDT' # or 'TESTUSD'
myticker = 'TESTBTCTESTUSDT' # or 'TESTBTCTESTUSD'
Nevertheless, both options show some signs of erratic data on the backtest, so I wonder if using that convention will give me a meaningful approximation of how my model would perform in reality. I am sorry for not being able to provide a backtest but attached are the figures for the two cases. All with the BrokerageName.Bitfinex:
TESTUSD:
TESTUSDT:
USD (As long as I know this one doesn't have issues):
(I) Has anyone used this ticker?
(ii) Did that give you meaningful insights?
(iii) Is it supposed to be used only in paper live trade and not in backtests?
(iv) Should I use the QuantConnectBrokerage model to test the algorithm?
Thanks in advance. I already reported the issue with the TESTBTC here.
Alexandre Catarino
Hi andres tello ,
The TEST symbols TESTBTCTESTUSDT, TESTUSDT, TESTUSD, and TESTBTC are supposed to represent BTCUSDT, USDT, USD, and BTC, respectively, for paper trading with Bitfinex, not for backtesting or paper trading with other brokerages. Unfortunately, Bitfinex paper trading requires special symbols, unlike paper trading from other brokerages.
I believe it will give you meaningful insight into live trading, e.g, how orders are processed in paper trading. If you use QuantConnect Paper Trading, the market orders are filled immediately, and there is no slippage and partially filled orders.
We should prefer the brokerage model of the exchange we plan to trade real money.
Best regards,
Alex
Want to invest in QuantConnect as we build the Linux of quant finance? Check out our Wefunder campaign to join the revolution.
Andres tello
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!