Type alias OrderParams

OrderParams: {
    auctionDuration: number | null;
    auctionEndPrice: BN | null;
    auctionStartPrice: BN | null;
    baseAssetAmount: BN;
    direction: PositionDirection;
    immediateOrCancel: boolean;
    marketIndex: number;
    marketType: MarketType;
    maxTs: BN | null;
    oraclePriceOffset: number | null;
    orderType: OrderType;
    postOnly: PostOnlyParams;
    price: BN;
    reduceOnly: boolean;
    triggerCondition: OrderTriggerCondition;
    triggerPrice: BN | null;
    userOrderId: number;
}

Type declaration

  • auctionDuration: number | null
  • auctionEndPrice: BN | null
  • auctionStartPrice: BN | null
  • baseAssetAmount: BN
  • direction: PositionDirection
  • immediateOrCancel: boolean
  • marketIndex: number
  • marketType: MarketType
  • maxTs: BN | null
  • oraclePriceOffset: number | null
  • orderType: OrderType
  • postOnly: PostOnlyParams
  • price: BN
  • reduceOnly: boolean
  • triggerCondition: OrderTriggerCondition
  • triggerPrice: BN | null
  • userOrderId: number

Generated using TypeDoc