Comments (16)
Because symbol
does not have minNotional
. Wait for my patch. :)
I just need a test.
from binance-trading-bot.
It seems Binance API got updated today. Not restarting the bot is the best option currently.
If you run the dev version on your server, you can get around it by changing line 72 of app/cronjob/trailingTradeHelper/common.js
to:
minNotional: minNotionalFilter !== undefined ? parseFloat(minNotionalFilter.minNotional) : symbol.minNotional
Otherwise you have to wait for @chrisleekr to issue a patch release.
from binance-trading-bot.
Patch is on the way
from binance-trading-bot.
Hold on @chrisleekr. There is more ramifications to this on the trailing jobs. Binance change is quite impactful actually. That's weird.
from binance-trading-bot.
Yeah, now there is no MIN_NOTIONAL
filter. It has NOTIONAL
.
{
"filterType": "NOTIONAL",
"minNotional": "0.10000000",
"applyMinToMarket": true,
"maxNotional": "10000.00000000",
"applyMaxToMarket": false,
"avgPriceMins": 1
}
from binance-trading-bot.
Even with patch on line 72, I've got additional issues:
TypeError: Cannot read property 'minNotional' of undefined
at /srv/app/cronjob/trailingTradeHelper/configuration.js:582:34
I can't figure out why though. Maybe related to something cached already.
from binance-trading-bot.
@rando128 The patch is merged. You can test it with the master branch.
If it's working, let me know. I will release a new version.
from binance-trading-bot.
It's strange for Binance to make such a change without an official release (no mention of it in their changelog). Are they purposely trying to break bots in the current market state? 😅
I'll test the patch on one of my installs. Smart from you @chrisleekr for checking both MIN_NOTIONAL and NOTIONAL as they could rollback to the previous behaviour at any time.
from binance-trading-bot.
@chrisleekr, I'm getting the following error both on an install with existing transactions and a fresh install:
[2023-04-12T15:00:54.008Z] ERROR: binance-api/87 on 1e139057a5d2: Cannot read property 'minNotional' of undefined (version=0.0.97, gitHash=unspecified)
TypeError: Cannot read property 'minNotional' of undefined
at /srv/app/cronjob/trailingTradeHelper/configuration.js:582:34
at Array.forEach (<anonymous>)
at /srv/app/cronjob/trailingTradeHelper/configuration.js:570:7
at Array.map (<anonymous>)
at getGridTradeBuy (/srv/app/cronjob/trailingTradeHelper/configuration.js:557:34)
at /srv/app/cronjob/trailingTradeHelper/configuration.js:918:9
at Array.forEach (<anonymous>)
at getConfiguration (/srv/app/cronjob/trailingTradeHelper/configuration.js:913:7)
at async setupCandlesWebsocket (/srv/app/binance/candles.js:30:33)
at async Promise.all (index 1)
at async setupWebsockets (/srv/app/server-binance.js:42:3)
at async syncAll (/srv/app/server-binance.js:112:3)
at async setupBinance (/srv/app/server-binance.js:183:3)
at async runBinance (/srv/app/server-binance.js:199:3)
at async Promise.all (index 0)
at async /srv/app/server.js:19:3
[2023-04-12T15:01:13.985Z] ERROR: binance-api/87 on 1e139057a5d2: Failed to run the job within 20000ms. (version=0.0.97, gitHash=unspecified, server=cronjob, job=trailingTradeIndicator, uuid=c86909f5-1aaf-4a92-8463-5524e3b2af87, tag=job-timeout)
from binance-trading-bot.
@rando128 I just pushed to clear the cache on migration.
Please rebuild the docker image and restart the bot.
Ok, it looks like something else is going on. Let me dig.
from binance-trading-bot.
Yeah, still having the problem. Probably because of the remaining reference to MIN_NOTIONAL :
f => f.filterType === 'MIN_NOTIONAL'
from binance-trading-bot.
Yap, I found it. Another patch on the way.
from binance-trading-bot.
@rando128 The fix has been pushed directly to the master branch.
You were right. The issue was the remaining reference.
Fixed with the changes as below
52146c5
from binance-trading-bot.
Working fine now! What a ride 😅
from binance-trading-bot.
Good, let me release. 😥
from binance-trading-bot.
Released the fix. Closing the issue.
from binance-trading-bot.
Related Issues (20)
- 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
- Settings trading globally
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.