Open aenimit opened 2 years ago
@aenimit กราฟที่ใช้ดูใน tradingview ต้องเป็นคู่ BTCUSDT ครับ เพราะ {{ticker}} มันถูกแทนด้วย BTCUSDTPERP ในที่นี้
ถ้าไม่อยากเปลี่ยนให้เราใส่ BTCUSDT_short_8_true_true ไปเลย
อีกอย่างคือ $8 น่าจะไม่พอ ผมว่าขั้นต่ำสักประมาณ 20 สำหรับ BTC นะ เพราะเหรียญมันราคาแพง
"code":-2019,"msg":"Margin is insufficient." ติดตรงนี้ครับ มันผันผวน
https://github.com/ccxt/ccxt/issues/7542 ปัญหาเดียวกัน แบบอันนี้ครับ
@aenimit เอาเงินไปใส่ในกระเป๋า futures ยังอ่าครับ
@aenimit Margin is insufficient.
หมายความว่าเงินเปิดไม่พออะครับ
เอาเงินจาก spot โยกไป futures USD-M อะครับผม
นี่แร่ะครับกระเป๋าฟีเจอร์
แนะนำว่าลองใส่สัก 30 ดูครับ
On Thu, 28 Apr 2022 at 5:37 PM, Nimit @.***> wrote:
— Reply to this email directly, view it on GitHub https://github.com/cryptothedev/tradingview-binance-webhook/issues/1#issuecomment-1111768198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWG6BCYBNBPXEH6X5HCKWUDVHIPZHANCNFSM5UNNGLQA . You are receiving this because you commented.Message ID: @.***>
เหมือนเดิมเรยครับ
{"code":-2019,"message":"Margin is insufficient.","body":{"code":-2019,"msg":"Margin is insufficient."},"headers":{"content-type":"application/json","content-length":"46","connection":"close","date":"Thu, 28 Apr 2022 06:35:05 GMT","server":"Tengine","x-mbx-used-weight-1m":"5","x-mbx-order-count-10s":"0","x-mbx-order-count-1m":"1","x-response-time":"3ms","access-control-allow-origin":"*","access-control-allow-methods":"GET, POST, PUT, DELETE, OPTIONS","x-cache":"Error from cloudfront","via":"1.1 54f86e61f2776ccac14162805d7331b2.cloudfront.net (CloudFront)","x-amz-cf-pop":"SIN2-C1","x-amz-cf-id":"iqLtZEjBzw_wNs4Su7UAHASEe2HrjBDSiGEZS3lfFQ4ycy1mpt_exA=="},"requestUrl":"https://fapi.binance.com/fapi/v1/order?symbol=BTCUSDT&quantity=0.1&side=BUY&positionSide=LONG&type=MARKET&newClientOrderId=x-15PC4ZJyMs2ar4wASydNrif1660PDlymt×tamp=1651127705680&recvWindow=5000&signature=bcb3033a215fc937708bb1332cd5b6ea8b95a6d5551bc02c6316a5bf756dcb86","requestOptions":{"recvWindow":5000,"syncIntervalMs":3600000,"strictParamValidation":false}}
api key ถูกต้องปกติ ถ้าคลิ๊กดูตามลิ้งมันฟ้องว่า {"code":-2014,"msg":"API-key format invalid."}
{"code":-1121,"message":"Invalid symbol.","body":{"code":-1121,"msg":"Invalid symbol."},"headers":{"content-type":"application/json","content-length":"38","connection":"close","date":"Tue, 26 Apr 2022 23:42:34 GMT","server":"Tengine","x-mbx-used-weight-1m":"1","x-response-time":"4ms","access-control-allow-origin":"*","access-control-allow-methods":"GET, POST, PUT, DELETE, OPTIONS","x-cache":"Error from cloudfront","via":"1.1 ac187c6f8a07d8e2befb08fa6809bc08.cloudfront.net (CloudFront)","x-amz-cf-pop":"SIN2-C1","x-amz-cf-id":"pbka0BLC6vz32rR5CCxGL7LLaSvW0IzXOVvZHeOETYe4aWSmKbrLdQ=="},"requestUrl":"https://fapi.binance.com/fapi/v1/openOrders?symbol=BTCUSDTPERP×tamp=1651016554880&recvWindow=5000&signature=5b1e9865bede0880f9e6caac176da34cfed602bc70db8f406f0dc6e51daabef6","requestOptions":{"recvWindow":5000,"syncIntervalMs":3600000,"strictParamValidation":false}}