Trade Model Evaluation ideas
Ideas for evaluating / backtesting trading models.
From https://github.com/owocki/pytrader/issues/5#issuecomment-204250257 :
A quick way would be create a theoretical control group: (if you bought 1 BTC/ETH and held it for the same two months) and compare the profits.
or
A second much more rigorous method (what I would do before even investing 1 real BTC) would be to get a collection of data from different markets and simulate PyTrader at random segments on them. This would be a true experiment and give a good idea of the actual profitability of the algorithm in the general market. But, I imagine this would take quite a bit of computation power. Do you have a general estimate of how long it would take a $900 PC running 24/7 to simulate 2 months of trading? (assuming all the code is modified somehow for this to happen)
Thanks @jeff-hykin for these ideas. Lets discuss these and other ideas below.
a collection of data from different markets and simulate PyTrader at random segments on them
Part of the reason I didnt do this is that one would have to simulate the exchange and the filling (or partial filling, or not filling at all) of orders. I am not quite sure exactly how to simulate the logic of whether an exchange fills an order, but am open to suggestions.
@owocki Do you still want this fulfilled?
i'm not active on the project any longer
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 0.2 ETH (138.42 USD @ $692.1/ETH) attached to it.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $0 more funded OSS Work available on the Gitcoin Issue Explorer