Moving your config to work with MACD
See original GitHub issueTLDR;
Add this to the bottom of your config to use the new method, comment out method = MACD
to method = percentile
. if you don’t use MarketAnalysis you don’t need to do anything.
[MarketAnalysis]
analyseCurrencies = BTC
lendingStyle = 75
MACD_long_win_seconds = 1800
percentile_seconds = 259200
[Daily_min]
method = MACD
multiplier = 1.05
Moving your config to work with MACD
There are loads of docs around this, so you can read more then once it’s all merged.
This is just a quick note of what’s changed between the releases and how to get back up and running as quickly as possibly.
FAQ
Q: What is this? A: A new method of working out the best rate to lend at. It analyses the moving average and calculates the rate accordingly.
Q: Why should I use this? A: To get better lending rates. At certain times I’ve found this to give vastly superior lending rates than the old percentile method. It uses a method similar to this: http://www.investopedia.com/terms/g/goldencross.asp
Q: Does it work on Poloniex and Bitfinex? A: Yes, though bitfinex still needs some work to get the same volume of data as Polo as we don’t have a coach for it yet.
Q: How can I get more information? A: The docs have loads of information, and I’m usually on Slack.
Differences
If you are moving an old config over, you can compare to the default.cfg.example
Things you may notice (Only applicable if using MarketAnalysis):
- There are no text files saved in market_data anymore, only sqlite3 databases
- Increased network activity as more data is recorded
- A small increase in memory usage
- Decreased disk usage in the market_data folder. The DB is more efficient even though we store more data.
- You need to have numpy and pandas installed
pip install -r requirements.txt
Config changes:
- There is a new section called [MarketAnalysis] if you don’t want to analyse the market for better rates, ignore this issue completely and nothing will change for you. If you do want to, it needs be in your config.
- There is another new section called [Daily_min] if you want to use the old percentage style analysis you can ignore this section. If you want to use the new MACD style (which generally seems to provide better rates), you need this section.
- lendingStyle (used for percentile analysis) has been moved to [MarketAnalysis]
- analyseMaxAge has been renamed keep_history_seconds and moved to [MarketAnalysis]
- Although analyseMaxAge was rename, in the previous iteration it was used to delete old data as well as server as the time period to calculate from, this time period is now controlled via percentile_seconds
- analyseUpdateInterval has been removed, the coach is now used to record data as often as possible.
- analyseCurrencies has move to the [MarketAnalysis] section
Config
Minimum required to use MACD:
- [MarketAnalysis] section containing:
analyseCurrencies = BTC
lendingStyle = 75
MACD_long_win_seconds = 1800
percentile_seconds = 259200
- [Daily_min] section containing:
method = MACD
multiplier = 1.05
Further
There are a lot more tweaks you can carry out and recommended configs in the docs. Turning off hidecoins is probably one of the better ones I’ve found to use.
Hopefully people can play around with the settings and see what works for them. You can start by changing the window sizes. Then changing the multiplier.
I try to aim to keep about 95% - 100% of currency on loan. This way you know you are not lending at too low a rate and always beating the market when you loan.
Special thanks to @kimp on Slack for helping out so much with testing.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:14 (9 by maintainers)
Top GitHub Comments
Will report back in a couple hours.
pip freeze: http://termbin.com/8g06
Config: http://termbin.com/leqf