pytrader icon indicating copy to clipboard operation
pytrader copied to clipboard

Trade Model Evaluation ideas

Open owocki opened this issue 9 years ago • 4 comments

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.

owocki avatar Apr 01 '16 13:04 owocki

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 avatar Apr 01 '16 13:04 owocki

@owocki Do you still want this fulfilled?

Ddfulton avatar Apr 11 '18 13:04 Ddfulton

i'm not active on the project any longer

owocki avatar Apr 11 '18 14:04 owocki

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.

darkdarkdragon avatar Jun 07 '18 00:06 darkdarkdragon