07-07-2019, 02:05 PM
(03-24-2018, 05:18 PM)CmvrkDunn Wrote: Backtesting
Using the ui version of gekko, has their been any complaints of the backtesting total percentage being inaccurate?
For extensive and in depth backtesting, is there significant advantages using MongoDB vs SQLite? If not, are there instructions / discussions on how to interface with the SQLite database directly? If so, are there instructions on how to switch data storing to MongoDB and how to interact with the database directly?
Overlapping question: Does gekko have the ability in backtesting (or live and paper trading for that matter) to export trade summaries to an Excel or text file? Kind of like the backtesting summary but with more information such as buy in price, sell price as well? If so, is it possible to customize the data fields exported?
Is there any possibility of backtesting or ui live gekko displaying a tradingview.com chart? It would be so helpful to look at in depth detail of each trade afterwards to see what improvement in the strategy is possible or to find common trends.
Strategy
Does gekko have the ability to short if an exchange allows it? Using gekko on Bitfinex for example?
In sample strategies, I see references to this.settings. Where is this referring to? I recognize that this.config is referencing variables in the strategies toml file but didn't find a similar file for this.settings. Is this.settings referring to the timeframe and required history from gekko's ui? Does it refer to variables in your strat.init?
Has there been any discussions about strategies that recognize and act on patterns like an equilibrium, bull or bear flag, or inside bars?
In your response, you referenced trade.price as a property that holds average last buy price. Can you give a brief snippet of trade.price usage in a strategy (how do you call it, I imagine by assigning it to a variable in the update function of your strategy)?
Is there any perceivable way to change variables in your method while a live gekko is running (that the live gekko would then start acting on)? For example, in the case of having a general strategy but you manually place a buy at an opportune point, from the ui you could update your boughtin variable to true along with the buy in price and let the bot handle selling. This would help not having to stop and start the strategy over in this situation or risk having the bots buying and selling out of sync with the actual buy / sell situation on the exchange.
Assuming a strategy is using one minute candles, using counters to delay indicator result calculation, I edited the RSI and MACD indicators to each give multiple timeframe results to be used in the same strategy (calculations tested successfully). I did this to achieve quickest price reaction gekko allows as well as providing more strategy conditions to use. Can you think of any consequences of this? I'm sure there is a more elegant design approach than I took (willing to send you the files), and I'd love to hear if any come to mind and your thoughts on this. Ultimately I think this would be terrific if it could be integrated into the ui though I know it would require some major front end design changes.
Again, thank you, thank you, thank you for your time and helpful responses. They are beyond appreciated!!
A lot of questions, I'm no expert but I'll answer what I can.
Q)e trade summaries to an Excel or text file?
A)You can do this, search YouTube for crypto49er, he has a video about it (he actually has videos for loads of stuff, he's also on here but I'm not sure how active he is)
Q) this.settings
A) these are variables within the strategy and base figures put into the toml file
Q) trading view graph
A) I'd really like to do this as well, I've tried to export the data into a CSV file but couldn't make it work ?
Q) changing variables on the fly.
A) I've never done this but again I think crypto49er has a video on it.
Q) buy out with the strategy.
A) yes you can do this but it'll mess up the profit and loss sheet, rather than buy out with the strategy you'll be better to try and include this in the strategy to automatically buy? If you buy and your strat is in conflict to when you've bought then it could sell straight away
Q) using different candles for different strategies
A) yes this can be done, there's a few posts about using a candle batcher on here. Remember gekko is a low frequency bot, not really designed for doing more than 10 trades per day.
Hopefully my answers are helpful ??♂️