Skip to main content

Module position

Module position 

Source
Expand description

Position management model definitions for Deribit WebSocket API

This module provides types for position management operations including closing positions and moving positions between subaccounts.

Structsยง

CloseOrder
Order information from a close_position response
ClosePositionResponse
Response from close_position API call
CloseTrade
Trade information from a close_position response
MovePositionResult
Result of a single position move
MovePositionTrade
Trade specification for move_positions request