Class IndexerGrpcDerivativesStream
Hierarchy
- IndexerGrpcDerivativesStream
Methods
streamDerivativeMarket
- streamDerivativeMarket(__namedParameters: { callback: MarketStreamCallback; marketIds?: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: MarketStreamCallback; marketIds?: string[]; onEndCallback?: any; onStatusCallback?: any }
Optional marketIds?: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamDerivativeOrderHistory
Parameters
Returns Subscription
streamDerivativeOrderbook
- streamDerivativeOrderbook(__namedParameters: { callback: DerivativeOrderbookStreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: DerivativeOrderbookStreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }
marketIds: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamDerivativeOrderbookUpdate
- streamDerivativeOrderbookUpdate(__namedParameters: { callback: DerivativeOrderbookV2StreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: DerivativeOrderbookV2StreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }
marketIds: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamDerivativeOrderbookV2
- streamDerivativeOrderbookV2(__namedParameters: { callback: DerivativeOrderbookV2StreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: DerivativeOrderbookV2StreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }
marketIds: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamDerivativeOrders
- streamDerivativeOrders(__namedParameters: { callback: DerivativeOrdersStreamCallback; marketId?: string; orderSide?: OrderSide; subaccountId?: string; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: DerivativeOrdersStreamCallback; marketId?: string; orderSide?: OrderSide; subaccountId?: string; onEndCallback?: any; onStatusCallback?: any }
Optional marketId?: string
Optional orderSide?: OrderSide
Optional subaccountId?: string
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamDerivativePositions
- streamDerivativePositions(__namedParameters: { callback: PositionsStreamCallback; marketId?: string; subaccountId?: string; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: PositionsStreamCallback; marketId?: string; subaccountId?: string; onEndCallback?: any; onStatusCallback?: any }
Optional marketId?: string
Optional subaccountId?: string
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamDerivativeTrades
Parameters
__namedParameters: { callback: DerivativeTradesStreamCallback; direction?: TradeDirection; executionSide?: TradeExecutionSide; marketId?: string; marketIds?: string[]; pagination?: PaginationOption; subaccountId?: string; subaccountIds?: string[]; onEndCallback?: any; onStatusCallback?: any }
Optional marketId?: string
Optional marketIds?: string[]
Optional subaccountId?: string
Optional subaccountIds?: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription