public class TradeOrderPreviewRequest extends TigerCommonRequest implements TigerRequest<TradeOrderPreviewResponse>
apiMethodName, apiModel, apiVersion, bizContent, sign, tigerId, timestamp, V2_0, V3_0| 构造器和说明 |
|---|
TradeOrderPreviewRequest() |
getApiMethodName, getApiModel, getApiVersion, getBizContent, getSign, getTigerId, getTimestamp, setApiMethodName, setApiModel, setApiVersion, setBizContent, setSign, setTigerId, setTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApiMethodName, getApiModel, getApiVersion, getTimestamp, setApiModel, setApiVersion, setTimestamppublic static TradeOrderPreviewRequest buildMarketOrder(ContractItem contract, ActionType action, Integer quantity)
public static TradeOrderPreviewRequest buildMarketOrder(String account, ContractItem contract, ActionType action, Integer quantity)
public static TradeOrderPreviewRequest buildMarketOrder(ContractItem contract, ActionType action, Long quantity, Integer quantityScale)
public static TradeOrderPreviewRequest buildMarketOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale)
public static TradeOrderPreviewRequest buildLimitOrder(ContractItem contract, ActionType action, Integer quantity, Double limitPrice)
public static TradeOrderPreviewRequest buildLimitOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double limitPrice)
public static TradeOrderPreviewRequest buildLimitOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double limitPrice, Double adjustLimit)
public static TradeOrderPreviewRequest buildLimitOrder(ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double limitPrice)
public static TradeOrderPreviewRequest buildLimitOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double limitPrice)
public static TradeOrderPreviewRequest buildLimitOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double limitPrice, Double adjustLimit)
public static TradeOrderPreviewRequest buildStopOrder(ContractItem contract, ActionType action, Integer quantity, Double auxPrice)
public static TradeOrderPreviewRequest buildStopOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double auxPrice)
public static TradeOrderPreviewRequest buildStopOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double auxPrice, Double adjustLimit)
public static TradeOrderPreviewRequest buildStopOrder(ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double auxPrice)
public static TradeOrderPreviewRequest buildStopOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double auxPrice)
public static TradeOrderPreviewRequest buildStopOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double auxPrice, Double adjustLimit)
public static TradeOrderPreviewRequest buildStopLimitOrder(ContractItem contract, ActionType action, Integer quantity, Double limitPrice, Double auxPrice)
public static TradeOrderPreviewRequest buildStopLimitOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double limitPrice, Double auxPrice)
public static TradeOrderPreviewRequest buildStopLimitOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double limitPrice, Double auxPrice, Double adjustLimit)
public static TradeOrderPreviewRequest buildStopLimitOrder(ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double limitPrice, Double auxPrice)
public static TradeOrderPreviewRequest buildStopLimitOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double limitPrice, Double auxPrice)
public static TradeOrderPreviewRequest buildStopLimitOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double limitPrice, Double auxPrice, Double adjustLimit)
public static TradeOrderPreviewRequest buildTrailOrder(ContractItem contract, ActionType action, Integer quantity, Double trailingPercent, Double auxPrice)
public static TradeOrderPreviewRequest buildTrailOrder(String account, ContractItem contract, ActionType action, Integer quantity, Double trailingPercent, Double auxPrice)
public static TradeOrderPreviewRequest buildTrailOrder(ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double trailingPercent, Double auxPrice)
public static TradeOrderPreviewRequest buildTrailOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double trailingPercent, Double auxPrice)
public static TradeOrderPreviewRequest buildAmountOrder(String account, ContractItem contract, ActionType action, Double cashAmount)
public static TradeOrderModel buildTradeOrderModel(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale)
public static TradeOrderPreviewRequest buildMultiLegOrder(String account, List<ContractLeg> contractLegs, ComboType comboType, ActionType action, Integer quantity, OrderType orderType, Double limitPrice, Double auxPrice, Double trailingPercent)
public static TradeOrderPreviewRequest buildMultiLegOrder(String account, List<ContractLeg> contractLegs, ComboType comboType, ActionType action, Long quantity, Integer quantityScale, OrderType orderType, Double limitPrice, Double auxPrice, Double trailingPercent)
public static TradeOrderPreviewRequest buildTWAPOrder(String account, String symbol, ActionType action, Integer quantity, Long startTime, Long endTime, Double limitPrice)
public static TradeOrderPreviewRequest buildVWAPOrder(String account, String symbol, ActionType action, Integer quantity, Long startTime, Long endTime, Double participationRate, Double limitPrice)
public static TradeOrderPreviewRequest buildWAPOrder(String account, String symbol, ActionType action, Integer quantity, OrderType orderType, Long startTime, Long endTime, Double participationRate, Double limitPrice)
public static TradeOrderPreviewRequest buildWAPOrder(String account, String symbol, ActionType action, Long quantity, Integer quantityScale, OrderType orderType, Long startTime, Long endTime, Double participationRate, Double limitPrice)
public static TradeOrderPreviewRequest buildOCABracketsOrder(ContractItem contract, ActionType action, Integer quantity, Double profitTakerPrice, TimeInForce profitTakerTif, Boolean profitTakerRth, Double stopLossPrice, Double stopLossLimitPrice, TimeInForce stopLossTif, Boolean stopLossRth)
public static TradeOrderPreviewRequest buildOCABracketsOrder(String account, ContractItem contract, ActionType action, Long quantity, Integer quantityScale, Double profitTakerPrice, TimeInForce profitTakerTif, Boolean profitTakerRth, Double stopLossPrice, Double stopLossLimitPrice, TimeInForce stopLossTif, Boolean stopLossRth)
public static TradeOrderPreviewRequest newRequest(TradeOrderModel model)
public static void addProfitTakerOrder(TradeOrderPreviewRequest tradeOrderRequest, Double profitTakerPrice, TimeInForce profitTakerTif, Boolean profitTakerRth)
public static void addStopLossOrder(TradeOrderPreviewRequest tradeOrderRequest, Double stopLossPrice, TimeInForce stopLossTif)
public static void addStopLossLimitOrder(TradeOrderPreviewRequest tradeOrderRequest, Double stopLossPrice, Double stopLossLimitPrice, TimeInForce stopLossTif)
public static void addStopLossTrailOrder(TradeOrderPreviewRequest tradeOrderRequest, Double stopLossTrailingPercent, Double stopLossTrailingAmount, TimeInForce stopLossTif)
public static void addBracketsOrder(TradeOrderPreviewRequest tradeOrderRequest, Double profitTakerPrice, TimeInForce profitTakerTif, Boolean profitTakerRth, Double stopLossPrice, TimeInForce stopLossTif)
public static void addBracketsOrder(TradeOrderPreviewRequest tradeOrderRequest, Double profitTakerPrice, TimeInForce profitTakerTif, Boolean profitTakerRth, Double stopLossPrice, Double stopLossLimitPrice, TimeInForce stopLossTif)
public TradeOrderPreviewRequest setOrderId(Integer orderId)
public TradeOrderPreviewRequest setAccount(String account)
public TradeOrderPreviewRequest setSecretKey(String secretKey)
public TradeOrderPreviewRequest setSymbol(String symbol)
public TradeOrderPreviewRequest setSecType(SecType secType)
public TradeOrderPreviewRequest setAction(ActionType action)
public TradeOrderPreviewRequest setCurrency(Currency currency)
public TradeOrderPreviewRequest setTotalQuantity(Long totalQuantity)
public TradeOrderPreviewRequest setTotalQuantityScale(Integer totalQuantityScale)
public TradeOrderPreviewRequest setCashAmount(Double cashAmount)
public TradeOrderPreviewRequest setOrderType(OrderType orderType)
public TradeOrderPreviewRequest setLimitPrice(Double limitPrice)
public TradeOrderPreviewRequest setAdjustLimit(Double adjustLimit)
public TradeOrderPreviewRequest setAuxPrice(Double auxPrice)
public TradeOrderPreviewRequest setTrailingPercent(Double trailingPercent)
public TradeOrderPreviewRequest setOutsideRth(Boolean outsideRth)
public TradeOrderPreviewRequest setMarket(String market)
public TradeOrderPreviewRequest setExchange(String exchange)
public TradeOrderPreviewRequest setExpiry(String expiry)
public TradeOrderPreviewRequest setStrike(String strike)
public TradeOrderPreviewRequest setRight(String right)
public TradeOrderPreviewRequest setMultiplier(Float multiplier)
public TradeOrderPreviewRequest setLocalSymbol(String localSymbol)
public TradeOrderPreviewRequest setAllocAccounts(List<String> allocAccounts)
public TradeOrderPreviewRequest setAllocShares(List<Double> allocShares)
public TradeOrderPreviewRequest setAlgoStrategy(String algoStrategy)
public TradeOrderPreviewRequest setAlgoParams(List<TagValue> algoParams)
public TradeOrderPreviewRequest setAttachType(AttachType attachType)
public TradeOrderPreviewRequest setProfitTakerOrderId(Integer profitTakerOrderId)
public TradeOrderPreviewRequest setProfitTakerPrice(Double profitTakerPrice)
public TradeOrderPreviewRequest setProfitTakerTif(TimeInForce profitTakerTif)
public TradeOrderPreviewRequest setProfitTakerRth(Boolean profitTakerRth)
public TradeOrderPreviewRequest setStopLossOrderType(OrderType stopLossOrderType)
public TradeOrderPreviewRequest setStopLossOrderId(Integer stopLossOrderId)
public TradeOrderPreviewRequest setStopLossPrice(Double stopLossPrice)
public TradeOrderPreviewRequest setStopLossLimitPrice(Double stopLossLimitPrice)
public TradeOrderPreviewRequest setStopLossTif(TimeInForce stopLossTif)
public TradeOrderPreviewRequest setStopLossTrailingPercent(Double stopLossTrailingPercent)
public TradeOrderPreviewRequest setStopLossTrailingAmount(Double stopLossTrailingAmount)
public TradeOrderPreviewRequest withUserMark(String userMark)
public TradeOrderPreviewRequest setUserMark(String userMark)
public TradeOrderPreviewRequest setTimeInForce(TimeInForce timeInForce)
public TradeOrderPreviewRequest setExpireTime(Long expireTime)
@Deprecated public TradeOrderPreviewRequest setTradingSessionType(TradeSession tradingSessionType)
public TradeOrderPreviewRequest setTradingSessionType(TradingSessionType tradingSessionType)
public TradeOrderPreviewRequest setLang(Language lang)
public TradeOrderPreviewRequest setAuctionOrder(OrderType orderType, TimeInForce timeInForce)
orderType - AM(Auction Market Order) or AL(Auction Limit Order)timeInForce - DAY/OPG,
OPG:Participate in the pre-market auction;
DAY:Participate in the after-hours auctionpublic Class<TradeOrderPreviewResponse> getResponseClass()
TigerRequestgetResponseClass 在接口中 TigerRequest<TradeOrderPreviewResponse>Copyright © 2025. All rights reserved.