Comments (5)
Also, I will close this ticket for now since we already have this issue in #8
from binance-volatility-trading-bot.
It's just tried to sell a different coin now and failed again:
TP or SL reached, selling 2.71 RLCUSDT...
APIError(code=-2010): Account has insufficient balance for requested action.
TP or SL not yet reached, not selling ATMUSDT for now...
not enough time has passed yet...
from binance-volatility-trading-bot.
I think it may be to do with the precision of the amounts I've bought, in the json file I have this currently:
{ "DOGEUSDT": { "symbol": "DOGEUSDT", "orderid": 928084000, "timestamp": 1620591984979, "bought_at": "0.56763000", "volume": 35.2 }, "RLCUSDT": { "symbol": "RLCUSDT", "orderid": 257169001, "timestamp": 1620592596234, "bought_at": "7.36950000", "volume": 2.71 }, "ATMUSDT": { "symbol": "ATMUSDT", "orderid": 27337300, "timestamp": 1620592601728, "bought_at": "10.45600000", "volume": 1.913 } }
Edit: Scratch that, just seen in the code it uses the same volume that's output to the console.
No idea why that would fail. Sorry for all the comments, just trying to add anything that might help!
from binance-volatility-trading-bot.
Ok I figured it out, the volume logged is actually incorrect.
For RLC for example, the json file says I have 2.71. If I check Binance it says: 2.70783200. I'm new to Binance, so I'm guessing it's taking a fee out of the order, or there's some rounding going on.
I believe if you hold some BNB it pays the fee with that instead so I guess that could be a workaround.
from binance-volatility-trading-bot.
Yes, that's correct. I think the way is to only sell 99.5% of the coin. Trying a new implementation out now.
from binance-volatility-trading-bot.
Related Issues (20)
- What results have you guys got using the bot?
- Ticker List HOT 1
- environment variables
- Whitelisting coins
- Telegram notifications HOT 1
- Credentials formatted incorrectly - TypeError:Exception: 'NoneType' object is not subscriptable HOT 1
- Suggestions
- AttributeError: 'dict' object has no attribute 'summary
- Your API key is either incorrect, IP blocked, or incorrect tld/permissons... HOT 4
- binance.exceptions.BinanceAPIException: APIError(code=-1003): Too much request weight used; current limit is 1200 request weight per 1 MINUTE.
- AttributeError: 'NoneType' object has no attribute 'encode'
- How does signalsample.py work?
- First handler: <tradingview_ta.main.TA_Handler object at 0x000001EB230D4BB0>
- Market vs limit sell, recommended code change
- Text notifications HOT 1
- the Trailing Stop Loss and Trailing Take Profit calculations do not make sense to me HOT 3
- Custom_List = True, Bot Not Buying Any Coins in the Ticker.txt HOT 1
- Coins Symbols not found. I have a generated list of Symbols/USDT from BINANCE US and all these coins are in the list.
- fixed version of the bot ? HOT 1
- Is this project still maintained? See description for updated bot
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-volatility-trading-bot.