Package org.knowm.xchange.bybit.service
Class BybitTradeServiceRaw
java.lang.Object
org.knowm.xchange.bybit.service.BybitBaseService
org.knowm.xchange.bybit.service.BybitTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
BybitTradeService
-
Field Summary
Fields inherited from class org.knowm.xchange.bybit.service.BybitBaseService
apiKey, bybit, bybitAuthenticated, nonceFactory, signatureCreator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamendOrder
(BybitCategory category, String symbol, String orderId, String orderLinkId, String triggerPrice, String qty, String price, String tpslMode, String takeProfit, String stopLoss, String tpTriggerBy, String slTriggerBy, String triggerBy, String tpLimitPrice, String slLimitPrice) getBybitOrder
(BybitCategory category, String orderId) placeLimitOrder
(BybitCategory category, String symbol, BybitSide side, BigDecimal qty, BigDecimal limitPrice, String orderLinkId) placeMarketOrder
(BybitCategory category, String symbol, BybitSide side, BigDecimal qty, String orderLinkId)
-
Constructor Details
-
BybitTradeServiceRaw
-
-
Method Details
-
getBybitOrder
public BybitResult<BybitOrderDetails<BybitOrderDetail>> getBybitOrder(BybitCategory category, String orderId) throws IOException - Throws:
IOException
-
placeMarketOrder
public BybitResult<BybitOrderResponse> placeMarketOrder(BybitCategory category, String symbol, BybitSide side, BigDecimal qty, String orderLinkId) throws IOException - Throws:
IOException
-
placeLimitOrder
public BybitResult<BybitOrderResponse> placeLimitOrder(BybitCategory category, String symbol, BybitSide side, BigDecimal qty, BigDecimal limitPrice, String orderLinkId) throws IOException - Throws:
IOException
-
amendOrder
public BybitResult<BybitOrderResponse> amendOrder(BybitCategory category, String symbol, String orderId, String orderLinkId, String triggerPrice, String qty, String price, String tpslMode, String takeProfit, String stopLoss, String tpTriggerBy, String slTriggerBy, String triggerBy, String tpLimitPrice, String slLimitPrice) throws IOException - Throws:
IOException
-