New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving your config to work with MACD #501
Comments
"analyseUpdateInterval" is still in the market_analysis.rst; says above it was removed. |
Default value of |
Odd output:
|
I don't think this is evaluating correctly: https://github.com/BitBotFactory/poloniexlendingbot/blob/master/modules/MarketAnalysis.py#L346 |
Here's a new one:
|
again
|
Came home 2hrs later to a slew of errors: https://ghostbin.com/paste/n7q7j |
@utdrmac , Can you ping me on slack when you're about and I can work through it. In the mean time, assuming you're on *nix, could give me output from:
Also, your cfg file with the keys and secrets removed. I haven't done anywhere near the amount of testing on bitfinex as I have on poloniex, so I'm expecting that could be something to do with it. |
pip freeze: http://termbin.com/8g06
Config: http://termbin.com/leqf |
Starting to think 5 & 6 are not related to these changes actually and are just a problem with the gaps on Bitfinex. I'll need to look closer at it again. Going to focus on 7 for now. |
@utdrmac OK, I think I've found it. I don't have a fix for it yet though. Can you remove all the DBs, and change the ACTIVE in the analyse_currenices to the currencies you're actually lending and then restart everything. I want to make sure that's what's wrong before I start working on a fix. I've realised also I need to prefix all the DBs with the exchange name or we'll never be able to run multiple exchanges on the same bot. That's a side point though. |
Will report back in a couple hours. |
When trying to git pull from pythonanywhere, I get:
Any help on this one? |
MACD is unlikely to work on pythonanywhere. That said, that sounds like something is messed up with your git checkout. The easiest thing to do, would be back up your config, delete the whole directory and check it out again. |
TLDR;
Add this to the bottom of your config to use the new method, comment out
method = MACD
tomethod = percentile
. if you don't use MarketAnalysis you don't need to do anything.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):
pip install -r requirements.txt
Config changes:
Config
Minimum required to use MACD:
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.
The text was updated successfully, but these errors were encountered: