Package com. seansoper. batil. brokers. etrade. api. orderPreview
Helper classes to support creating both simple and complex orders.
Types
PreviewInstrument
Link copied to clipboard
interface PreviewInstrument
Content copied to clipboard
PreviewInstrumentEquity
Link copied to clipboard
data class PreviewInstrumentEquity(orderAction: OrderActionType, product: PreviewProduct, quantityType: QuantityType, quantity: String) : PreviewInstrument
Content copied to clipboard
PreviewInstrumentOption
Link copied to clipboard
data class PreviewInstrumentOption(orderAction: OrderActionType, product: PreviewProduct, orderedQuantity: String, quantity: String) : PreviewInstrument
Content copied to clipboard
PreviewOrder
Link copied to clipboard
interface PreviewOrder
Content copied to clipboard
PreviewOrderLimit
Link copied to clipboard
data class PreviewOrderLimit(allOrNone: String, priceType: OrderPriceType, orderTerm: OrderTerm, marketSession: MarketSession, instruments: List<PreviewInstrument>, limitPrice: String) : PreviewOrder
Content copied to clipboard
PreviewOrderMarket
Link copied to clipboard
data class PreviewOrderMarket(allOrNone: String, priceType: OrderPriceType, orderTerm: OrderTerm, marketSession: MarketSession, instruments: List<PreviewInstrument>, limitPrice: String, stopPrice: String) : PreviewOrder
Content copied to clipboard
PreviewProduct
Link copied to clipboard
interface PreviewProduct
Content copied to clipboard
PreviewProductEquity
Link copied to clipboard
data class PreviewProductEquity(symbol: String, securityType: SecurityType) : PreviewProduct
Content copied to clipboard
PreviewProductOption
Link copied to clipboard
data class PreviewProductOption(symbol: String, securityType: SecurityType, callPut: OptionType, expiryYear: String, expiryMonth: String, expiryDay: String, strikePrice: String) : PreviewProduct
Content copied to clipboard
PreviewRequest
Link copied to clipboard
data class PreviewRequest(orderType: OrderType, clientOrderId: String, orders: List<PreviewOrder>)
Content copied to clipboard