0
Follow
0
Followers
कृपया सफल होने के लिए num को किसी विशिष्ट संख्या से प्रतिस्थापित करें। लेकिन जब आप किसी चर को प्रतिस्थापित करते हैं तो यह काम नहीं करता। इससे कैसे निपटें?
Created 2018-11-08 10:27:20
3
1938
var num = Number(sell_one_price);
Log (("क्या परीक्षण से कोई संख्या निकलती है",num);
exchange.IO("api","POST","/api/v1/order","symbol=XBTUSD&side=Sell&orderQty=40&price=num&ordType=Limit&execInst=ParticipateDoNotInitiate");
2018-11-08 10:24:55 Futures_BitMEX त्रुटि Futures_OP 4: 400: {"error":{"message": 'price' must be a number.","name": HTTPError"}}
2018-11-08 10:24:55 जानकारी क्या परीक्षण संख्या 6504.5 का उत्पादन करता है
Related Recommendations
JavaScript Bitmex【Recruitment】Quantitative Strategy DevelopmentHow can i get the depth of the market when backtesting?ERR_INSUFFICIENT_ASSET from huobiMyLanguage DocumentHappy Halloween / Coupon-codes for everyone -- FMZ Quant TeamAdding exchanges on our setting listIntroducing Visual Programming on FMZ QuantLooking For PartnershipGreat news! Check out our platforms’ NEW features, the “Demands & Offers” page on our website.
Comment
All comments (3)
exchange.IO("api","POST","/api/v1/order","symbol=XBTUSD&side=Buy&orderQty="+last_Amount+"&price="+buy_price+"&ordType=Limit&execInst=ParticipateDoNotInitiate");
8 years ago
num 您写在 "symbol=XBTUSD&side=Sell&orderQty=40&price=num&ordType=Limit& 就是一个 字符串了 是 num , 并不是 变量 num !
这个需要先弄明白 字符串的概念, 变量名的概念。
8 years ago
- 1
