Type alias Order

Order: {
    auctionDuration: number;
    auctionEndPrice: BN;
    auctionStartPrice: BN;
    baseAssetAmount: BN;
    baseAssetAmountFilled: BN;
    direction: PositionDirection;
    existingPositionDirection: PositionDirection;
    immediateOrCancel: boolean;
    marketIndex: number;
    marketType: MarketType;
    maxTs: BN;
    oraclePriceOffset: number;
    orderId: number;
    orderType: OrderType;
    postOnly: boolean;
    price: BN;
    quoteAssetAmount: BN;
    quoteAssetAmountFilled: BN;
    reduceOnly: boolean;
    slot: BN;
    status: OrderStatus;
    triggerCondition: OrderTriggerCondition;
    triggerPrice: BN;
    userOrderId: number;
}

Type declaration

  • auctionDuration: number
  • auctionEndPrice: BN
  • auctionStartPrice: BN
  • baseAssetAmount: BN
  • baseAssetAmountFilled: BN
  • direction: PositionDirection
  • existingPositionDirection: PositionDirection
  • immediateOrCancel: boolean
  • marketIndex: number
  • marketType: MarketType
  • maxTs: BN
  • oraclePriceOffset: number
  • orderId: number
  • orderType: OrderType
  • postOnly: boolean
  • price: BN
  • quoteAssetAmount: BN
  • quoteAssetAmountFilled: BN
  • reduceOnly: boolean
  • slot: BN
  • status: OrderStatus
  • triggerCondition: OrderTriggerCondition
  • triggerPrice: BN
  • userOrderId: number

Generated using TypeDoc