0
집중하다
0
수행원

성공하려면 num을 특정 숫자로 바꿔주세요. 하지만 변수를 대체하면 작동하지 않습니다. 이걸 어떻게 처리해야 할까요?

만든 날짜: 2018-11-08 10:27:20, 업데이트 날짜:
comments   3
hits   1649

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