Comments (10)
Sorry, I didn't have time to test in another environment.
I'll close the issue and let you know if I have updates.
from binance-trading-bot.
Sorry for jumping in here, but I have some questions and comments from my usage experience.
-
Where do you get crontab? I have a docker deploy on Linux and never saw there's a configurable crontab.
-
How do you manage to see those errors? There are logs? How do you access them?
I am no expert but Binance have a limit of 1200 API requests per minute, you can see a mention of it in #52 - so even doing 3 request per second you should be good to go.
Maybe it's a issue with the tunnel, have you trying disabling it? Please see #32
from binance-trading-bot.
Hei @chopeta, yes, saw #32 and #52
-
There is no crontab, there is a nodejs module that simulates a cron. You need to change this:
binance-trading-bot/config/default.json
Line 41 in 4de7391
and also change in Mongo db -> collection trailing-trade-common -> field cronTime
and restart -
The errors are also in logs and on slack.
docker logs binance-bot | grep ETIMEDOUT
I don't think it is related to the localtunnel, the errors come from calls to binance api. The localtunnel works ok.
Also, I don't think the bot reaches the limit because it just gives a timeout after 2-3 minutes of working ok. If it would reach the limit it would stop working. I think it may be flagged by the ML algorithm but I can't be sure, it may be from my setup. This is why I am asking if someone else encountered this.
Info on Binance limits:
https://www.binance.com/en-AU/support/faq/360004492232
from binance-trading-bot.
Hm, doesn't sound like the bot issue. It must be some connection issue between you and Binance API.
Where are you located?
Are you able to run in a cloud server such as DigitalOcean?
from binance-trading-bot.
OK, still a lot to learn here... I didn't have Slack notifs enabled... now I see ETIMEDOUT errors as well inside my Slack channel. Only 3 errors so far, so in theory nothing to be worried about. These are the errors:
- request to https://api.binance.com/api/v3/account?
- request to https://api.binance.com/api/v3/openOrders?
- request to https://api.binance.com/api/v3/account?
From the logs I can't see anything (too many info in there), I guess I have to use bunyan for that.
I also had issues when accessing the bot remotely (over a VPN) using a internet connection with a very high latency... other than that it's working good.
@chrisleekr I am curious about the Slack integration, is there a list of msg types that are defined to be sent to Slack? What else can I expect to see inside Slack?
from binance-trading-bot.
@chrisleekr Thanks for the reply.
I am located in Buchares/Romania.
I didn't run the bot in cloud yet because I am still testing it. But I have to try in another environment.
from binance-trading-bot.
If you enable Slack, you will get notifications such as buy/sell order like below:
from binance-trading-bot.
@traian13 Yeah, please try with another environment (or location).
Timeout is happening when you didn't get the response from API within a specific time.
from binance-trading-bot.
@traian13 if you have no more issue, please close the issue.
from binance-trading-bot.
Sorry, I didn't have time to test in another environment.
I'll close the issue and let you know if I have updates.
Did you find a solution?
I have the same issue...
from binance-trading-bot.
Related Issues (20)
- Grid Trade #2 does not get executed, because stop-loss overrules
- GUI symbol card randomly stop working for random symbols HOT 8
- Switch base currency or track multiple
- Config caching changes until reload of website.
- Bot doesn't buy oder sell HOT 3
- Current API Usage:
- Some errors HOT 1
- Buy order stop price is higher than current buy limit price, cancel current buy order
- Stuck on Failed to load account information, how it`s fix HOT 2
- Can you create a video showing your installations? HOT 1
- Bot gets stuck randomly HOT 1
- Testnet doesn't work HOT 1
- Binance_tradingAI_coding
- Notional value is less than the minimum notional value. Do not place an order for the grid trade #1.
- Failed to load your account information. HOT 1
- ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.9/site-packages/werkzeug/urls.py) HOT 1
- Failed to load your account information. HOT 1
- Failed to load your account information. HOT 5
- Docker Proxy Support (Outgoing connections)
- m
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binance-trading-bot.