Comments (6)
I've added some more logging; it appears the variable minimums is defined, it's the key for the pair that is returning undefined. The minimums variable does contain the key being requested, and that has a minQty subkey which is also defined.
from node-binance-trader.
I think this is due to me following https://bitcoinvsaltcoins.com/strategy/608, which is really tethervsaltcoins. Because the code does this:
const alt = signal.pair.replace("BTC", "")
if (minimums[alt + "BTC"] && minimums[alt + "BTC"].minQty) {
(ie remove BTC from the pair and then add it back in everywhere), the instruction to buy fails as it ends up looking for the pair DENTUSDTBTC. I'm assuming this separation of the alt name and the base coin is done largely so that the alt
variable can be used in log messages, and that the person who published them is running modified code.
I've looked at all the public forks and I don't see one supporting this strategy. Is there one I can pull from somewhere?
from node-binance-trader.
Hey there, yes, currently the code is aligned so that only BTC-based trades are supported. Besides BVA's philosophy, this is an unneeded constraint. In case you found zen's (@balance80) fork, you might have missed this specific branch: https://github.com/balance80/node-binance-trader/tree/feat/multiple-basecoins
Try that one and please report success as well as issues, so that we can merge it here :)
from node-binance-trader.
Thanks, I will try that out once I have figured out #101 .
from node-binance-trader.
We could probably close this issue, now that the error and cause are logged here for others to search.
from node-binance-trader.
I tried @balance80's multiple basecoins. but qty is zero and I received this from binance
ERROR 7991117 marketBuy GTOUSDT 0 {"code":-1013,"msg":"Invalid quantity."} Error in queue {"code":-1013,"msg":"Invalid quantity."}
from node-binance-trader.
Related Issues (20)
- Signals no longer received HOT 29
- heroku deploy build error HOT 2
- Pairs Unknown HOT 1
- feat: rewrite trader in typescript HOT 1
- Sponsor username invalid HOT 3
- Postgres connect error HOT 1
- Error: error: password authentication failed for, when run start HOT 4
- Support for usdt instead of btc HOT 1
- Get Cross Margin Market Pairs
- Cross Margin Market Data HOT 1
- fix: repay exceeds borrow amount on testing HOT 2
- Deploy Heroku HOT 9
- senin proje HOT 1
- MongoDB on Heroku HOT 2
- No margin pair available for some coins HOT 9
- INSTALL ON WINDOWS HOT 1
- The automated release is failing 🚨
- Pairs in ENV HOT 3
- Socket documentation HOT 2
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 node-binance-trader.