detect_position_mode
Identify current position mode (one-way or hedge) and determine optimal positionIdx for orders on Bybit. Specify category and optional symbol to validate settings accurately.
Instructions
Detect current position mode (one-way vs hedge) and get recommended positionIdx for orders
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | Yes | Category (spot, linear, inverse, etc.) | |
symbol | No | Symbol (e.g., ETHUSDT) - optional, will check all positions if not provided |
Input Schema (JSON Schema)
{
"properties": {
"category": {
"description": "Category (spot, linear, inverse, etc.)",
"type": "string"
},
"symbol": {
"description": "Symbol (e.g., ETHUSDT) - optional, will check all positions if not provided",
"type": "string"
}
},
"required": [
"category"
],
"type": "object"
}