-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Conversation
Besides histogram based, it's now possible to act 'speed' based. Speed is PPO - previous PPO. You can define thresholds for crossing, non crossing and possible rebound situations to act as signals.
Conflicts: methods/indicators/PPO.js
Conflicts: methods/PPO.js
Looks very interesting, though you could maybe point me to some documentation about the new parameters or maybe explain them a little? Is this part of a standard PPO or an improvement? |
No, it's not "standard" ;-) The idea is to generate signals earlier than with the classic lagging PPO/MACD.
|
I have an Excel based backtest tool if anyone is interested. |
that looks amazing, will def take a look and merge this in. Also I want backtesting in localDB asap, should not be hard. |
got an calculation error, getting ~ 5% BTC-e PPC/USD 15m candles (0,2% fee) for 1 week vs. -5% buy and hold. |
This would be interesting. I have been building this application to run on my RaspberryPi which monitors BTC_USD and LTC_USD for historical data. I can move the database to a permanent server if back testing data could be integrated with an API |
@cykedev what do you mean error? Caused By gekko or? @boxxa what do you mean integrated in an API? Currently the localDB is storing all historical data required to do backtesting (minimally, no slippage data etc), so backtesting is just about loading all data from a specified timerange and bubbling it through Gekko. The current architecture does not care about if the data is realtime and if 1min ticks happen once a minute etc. If you have your own data you could convert it to Gekko's format (1min ohcl-v-vwp candles in nedb daily databases) relatively easy (let me know if you need help with this). In the future we're even going to abstract out gekkos datastore so you can feed gekko historical data through external sources (like websocket / redis / etc) and it will spit out results. |
@askmike no - i did a mistake in calculating stats I posted here - see my comment above for new stats of my backtest: tested one week 15m candles |
@askmike One of the things I noticed when doing testing and multiple installs was the advice would not be given for about a day while it collected data. Was seeing if there is a way to resolve this with a bitcoinchats alternative that supported other currencies to help new installs load historical data to send advice quicker |
@cykedev ah sounds great, I'm currently looking at auto trading in localDB. Will merge this in after that. @boxxa So we had some discussions about this before and I really don't like bitcoincharts: Not all their data is calculated 100% correct and the API is not really that stable (see #77 and #24). Here is some more discussion about better solutions. Note that I did already setup Gekko in way that people can just send daily database files to each other (even if they are in different timezones etc, days are UTC based), the only hard thing is trusting the source. |
Conflicts: methods/PPO.js
… if there is no change in trend
Conflicts: exchanges/btce.js
I think it says I closed because I deleted the localDB branch (merged into master), I am looking at this! Edit: can't reopen but I'll cherrypick all these commits myself. |
@cykedev any chance adapting this pull for the latest version of gekko? |
I'm sorry no but feel free to adopt the code |
I added some new options to PPO. Besiges the "normal" histogram based signal generation, its now possible to use the "speed" (PPO - previous PPO) as signal generator.
Thresholds for crossing situations, non crossing situations and possible rebound situations can be configured. In this case, the "normal" signal generation is ignored.
So it's possible to adjust the personal trading strategy wit the PPO indicator.