Type/to search
4
Follow
0
Followers
Gate 조건 위임을 작성하는 방법
Help
Created 2023-05-05 09:51:58  
 3
 1087

orderId = exchange.IO("api", "POST","/api/v4/futures/btc/orders", {
"contract": "BTC_USD",
"price": price2,
"size": 1, // size를 추가합니다.
"amount": n,
"direction": "short",
"offset": "open",
"lever_rate": 100,
"order_type": "conditional",
"trigger_price":price2,
"order_price_type": "limit",
"time_in_force": "gtc"
이 코드는 맞나요? 리스크 디스크는 얼마나 단순하고 평범한 임무를 수행하는지, 신을 빌려

Related Recommendations
Comment
All comments (3)

    有人吗

    3 years ago

    梦总在吗?

    3 years ago

    在的,看了下GATE的文档,应该是通过指定amount这个参数为负数,指定做空方向。可以试下。

    3 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)