com.bybit.api.client.restApi.BybitApiPositionRestClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bybit-java-api Show documentation
Show all versions of bybit-java-api Show documentation
The Official Java API connector for Bybit's HTTP and WebSocket APIs.
Dive into a plethora of functionalities:
- Market Data Retrieval
- Trade Execution
- Position Management
- Account and Asset Info Retrieval
- User and Upgrade Management
— Public Websocket Streaming
- Private Websocket Streaming
- Lending Institution and Client
- Broker Earning Data
The newest version!
package com.bybit.api.client.restApi;
import com.bybit.api.client.domain.position.request.BatchMovePositionRequest;
import com.bybit.api.client.domain.position.request.PositionDataRequest;
public interface BybitApiPositionRestClient {
// Position Data
Object getPositionInfo(PositionDataRequest positionListRequest);
Object setPositionLeverage(PositionDataRequest setLeverageRequest);
Object swithMarginRequest(PositionDataRequest switchMarginRequest);
Object switchPositionMode(PositionDataRequest switchPositionModeRequest);
@Deprecated
Object setTpslMode(PositionDataRequest setTpSlModeRequest);
@Deprecated
Object setRiskLimit(PositionDataRequest setRiskLimitRequest);
Object setTradingStop(PositionDataRequest tradingStopRequest);
Object setAutoAddMargin(PositionDataRequest setAutoAddMarginRequest);
Object modifyPositionMargin(PositionDataRequest modifyMarginRequest);
Object getClosePnlList(PositionDataRequest closePnlHistoryRequest);
Object getMovePositionHistory(PositionDataRequest movePositionHistoryRequest);
Object batchMovePositions(BatchMovePositionRequest batchMovePositionRequest);
Object confirmPositionRiskLimit(PositionDataRequest confirmNewRiskLimitRequest);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy