Skip to main content

Basic Short Position Example

Complete example of opening a short position.

Simple Short with Stop Loss​

{
"strategy_key": "your_encrypted_strategy_key_here",
"exchange": "BYBIT",
"ticker": "ETHUSDT.P",
"position_side": "SHORT",
"action": "SELL",
"entry_price": 3000,
"stop_loss_price": 3100,
"take_profit_price": 2800,
"leverage": 5
}

Range-Bound Short​

{
"strategy_key": "your_encrypted_strategy_key_here",
"exchange": "BINANCE",
"ticker": "BTCUSDT.P",
"position_side": "SHORT",
"action": "SELL",
"entry_price": 52000,
"stop_loss_price": 52500,
"take_profit_price": 50000,
"leverage": 10,
"margin_mode": "isolated"
}