-
Notifications
You must be signed in to change notification settings - Fork 2k
Bot behaves different in real trading than in sim #185
Comments
sim runs on an entire day, quickly, it doesnt trade frequently by default. read the readme |
By default not, but I'm not on defaults. |
I've verified that today again... (--days 1) I assume it's just because of time needed to sell/buy in the real life. |
In this topic I've been playing around with simulation with --period=1m and the bot makes in 60 days a staggering 4073% over vs by hold in gdax.ETH-BTC. It makes in average 80 trades a day. |
are you guys seriously expecting the same results from live trading as running a sim on dissimilar prices and trends? |
What do you mean saying "dissimilar' ? We can try to make some correction there....by trials&errors at least. Or maybe parameter which will say how much time (or buy/sell trials) are needed to be closer to the real life scenario. It's not so important though. |
@demesm If I run live trading all day today (Midnight to 11:59pm), and tomorrow, I go back and run the simulation on today's data for the same time period, the result should be the same, no? |
I've been doing tests with 1m period aggressive trading (see #246 (comment)) to see how to remedy this false hope in the simulator. I think I will need to apply an avg. amount of slippage to each order, probably 0.045% that I've experienced in live trading. |
My average slippage is higher during the past 24h. I think thats one of the reasons that sim showed +50% or smth and realtime trading yielded -19%. I checked in in sim. |
I also noticed that when the bot is buying the 2nd best bidder price is not reflected in the bot price. I mean the bot is for example trying to buy at 1,100 and the next bidder is 1,099 - which is fine initially. If the next bidder changes his price to 1,050 for example, the bot is not correcting his own bid to 1,051 (which I would expect). |
@githubee you would like to use the option
that is, to my knowledge. I am still figuring things out as a rookie. |
Discussion on #868 is likely relevant. The process of executing an order on the sim is much simpler than with real exchanges. I suspect the bugs I mention in my most recent comment there are to blame for a lot of the discrepancy. That said, there are definitely still plenty of noise sources in real trading which can't be simulated in an exact way - slippages, order depth, etc. |
Dear issue reporter, We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit. You can find it here: https://reddit.com/r/zenbot This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case. Thanks for contributing time and effort! Greetings, |
I was trying to trade on gdax for more than 24h using 4.x bot, and had no transactions (there were no tries of sell/buy at all).
Then I run a simulation for --days 1, and got few transactions.
So I assume there could be a difference between behavior in the simulation and in the real life.
Or maybe I'm just missing something?
The text was updated successfully, but these errors were encountered: