1

我正在尝试在 BINANCE 期货上下达 2 倍杠杆订单,如下所示:

(a) 使用 {'symbol': 'ETHUSDT', 'leverage': 2} 发布 /fapi/v1/leverage

(b) POST /fapi/v1/order with { 'quantity': 100, ....}

这是设置杠杆的正确方法吗?我不知道如何验证它是否有杠杆作用。我在 BINANCE FUTURES Web 上看到 2x 的位置,但我不确定这是否足够。

卖掉我以前买的所有东西的最好方法是什么?我现在卖 99,但总有一些 0.x 剩余。我应该平仓而不是下一个卖单吗?

谢谢

4

1 回答 1

1

Based on this answer, this is correct:

POST /fapi/v1/leverage with {‘symbol’: ‘ETHUSDT’, ‘leverage’: 2}
POST /fapi/v1/order with    {‘symbol’: ‘ETHUSDT’, ‘side’: ‘BUY’, ‘quantity’: xx, …}

WAIT FOR SOME TIME ...

POST /fapi/v1/leverage with {‘symbol’: ‘ETHUSDT’, ‘leverage’: 2}
POST /fapi/v1/order with    {‘symbol’: ‘ETHUSDT’, ‘side’: ‘SELL’, ‘quantity’: xx, …}

what's important to understand is that when you are using leverage what changes is the "used balance".

For example if you want to sell 1 ETH with price 3000 USDT and 2x leverage, what changes is your free USDT balance will have less 1500 USDT instead of the 3000 USDT if you had no leverage.

To check your open positions leverage use THIS:

GET /fapi/v2/positionRisk
于 2021-05-27T11:35:14.113 回答