-
Notifications
You must be signed in to change notification settings - Fork 74
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
Multiple accounts in a single instance. #32
Comments
Hi Mike, If you're running two bots and want to divide the traffic, you could try this:
This way, your "buydip1" strategy will cover the first half of the list of tokens you would like it to use, and the "buydip2" strategy would be the 2nd half of the list. This would probably be the easiest way to accomplish your goal, and would require a little bit of time dedicated to creating the lists, but it should do what you need it to. Hope it helps! -supershwa |
Hello Mike,
Yes, the strategies that have lots of valid pairs will have high traffic consumption.
There is no double data loading right now, as we only update a pair if it is really outdated. You can always do as @supershwa wrote, but I can't understand what would be the point to have the same strategies duplicated. |
If the bots are working on different accounts but use the same strategy - that is the case when we need to share the candles but need 2 bots |
For that scenario it won't be possible to share the candles, so you'll be downloading the same data twice. You can only have one account for each instance of BitProphet. That's an issue that would be cool to address in a near future. |
|
Sorry, what I said was wrong. We don't load the data every second. With the websocket connection, the data is sent and loaded when there are changes to the price. So, if you request the 1h, 5m and 1m charts, as soon as the price changes, all three will receive new data (500 candlestick for each every time). The correct approach here, is to keep a single websocket open (1 candlestick of data for each update) and to update all three with the new data. |
Last night I succeeded to be "IP banned" by binance while running several other bots plus one bitprophet. Other bots worked fine during 2 month but now "1200 requests per minute" message arrived and my vds IP was blocked for short period (binance kindly sends timestamp "until" ). Also about 1TB of traffic eaten during two days ))) |
I'm running BitProphet 24/7 since March now. |
Hello Andre
The buydip strategy is rather greedy on traffic. When I need to run two bots with the same strategy what should be the steps to prevent double data loading from exchange? Could there be easy fix or complete rewrite needed?
The text was updated successfully, but these errors were encountered: