Back

Offline Reality Modeling, Problems with fee's

Hey quant community I have my trading algo setup offline with some hsitorical data so that I can run my models through some optimization algorithms. I am only working with the GDAX brokerage so I worked in the GDAX fee model by subtracting 0.25% of my cumulative % return each time I would excecute a trade. My problem is that the results I get from my algorithm running locally are wildly different from when I run my algo with the same settings on quantconnect. This doesn't happen when I don't take into account fee's so their must be something wrong with my fee modeling. Can anyone help? 

Update Backtest








To apply fees and other reality items, try using a(the Gdax) brokerage model in your algo:

To see what could be different regarding your own calcs, can check out the relating source code for the models on Github.
 

https://www.quantconnect.com/docs#Initializing-Algorithms-Cash-and-Brokerage-Models
0

Unfortunatly due to the amount of consercutive backtests I need to perform it's not really practical to run it in LEAN so using the ctual brokerage model isn't possible. I was hoping someone could give me some insight into what the brokerage model actually does and why my fee model isn't producing similart results. 

0

Update Backtest





0

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.


Loading...

This discussion is closed