com.bybit.api.client.domain.trade.request.TradeOrderRequest 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.domain.trade.request;
import com.bybit.api.client.domain.CategoryType;
import com.bybit.api.client.domain.TradeOrderType;
import com.bybit.api.client.domain.TriggerBy;
import com.bybit.api.client.domain.position.ExecType;
import com.bybit.api.client.domain.trade.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TradeOrderRequest {
private CategoryType category; // always Required
private String symbol;
private Side side;
private TradeOrderType orderType;
private String qty;
private Integer isLeverage;
private String price;
private Integer triggerDirection;
private OrderFilter orderFilter;
private String triggerPrice;
private TriggerBy triggerBy;
private String orderIv;
private TimeInForce timeInForce;
private PositionIdx positionIdx;
private String orderId;
private String orderLinkId;
private String takeProfit;
private String stopLoss;
private TriggerBy tpTriggerBy;
private TriggerBy slTriggerBy;
private Boolean reduceOnly;
private Boolean closeOnTrigger;
private SmpType smpType;
private Boolean mmp;
private String tpslMode;
private String tpLimitPrice;
private String slLimitPrice;
private TradeOrderType tpOrderType;
private TradeOrderType slOrderType;
private String baseCoin;
private String settleCoin;
private Integer openOnly;
private Long startTime;
private Long endTime;
private Integer limit;
private String cursor;
private StopOrderType stopOrderType;
private OrderStatus orderStatus;
private Integer timeWindow; // only to Disconnect Cancel All options
private ExecType execType;
private String marketUnit;
private String referer;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy