Class IndexerGrpcSpotStream
Methods
streamSpotMarket
- streamSpotMarket(__namedParameters: { callback: MarketsStreamCallback; marketIds?: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: MarketsStreamCallback; marketIds?: string[]; onEndCallback?: any; onStatusCallback?: any }
Optional marketIds?: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamSpotOrderHistory
Parameters
Returns Subscription
streamSpotOrderbook
- streamSpotOrderbook(__namedParameters: { callback: SpotOrderbookStreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: SpotOrderbookStreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }
marketIds: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamSpotOrderbookUpdate
- streamSpotOrderbookUpdate(__namedParameters: { callback: SpotOrderbookUpdateStreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: SpotOrderbookUpdateStreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }
marketIds: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamSpotOrderbookV2
- streamSpotOrderbookV2(__namedParameters: { callback: SpotOrderbookV2StreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: SpotOrderbookV2StreamCallback; marketIds: string[]; onEndCallback?: any; onStatusCallback?: any }
marketIds: string[]
onEndCallback?:function
onStatusCallback?:function
Returns Subscription
streamSpotOrders
- streamSpotOrders(__namedParameters: { callback: SpotOrdersStreamCallback; marketId?: string; orderSide?: OrderSide; subaccountId?: string; onEndCallback?: any; onStatusCallback?: any }): Subscription
Parameters
__namedParameters: { callback: SpotOrdersStreamCallback; 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
streamSpotTrades
Parameters
__namedParameters: { callback: SpotTradesStreamCallback; 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