Skip to content

Futures markprice @1s #101

Closed
Closed
@slipp1

Description

@slipp1

Hi, Im trying to subscribe to this stream: !markPrice@arr@1s and I can't figure out a way.
https://binance-docs.github.io/apidocs/futures/en/#mark-price-stream-for-all-market

This works, but it updates every 3seconds:
binance_websocket_api_manager.create_stream(['arr'], ['!markPrice'])

Also, specifying the market it works in both cases (3seconds and 1second):
binance_websocket_api_manager.create_stream(['markPrice'], ['btcusdt', 'ethusdt']
binance_websocket_api_manager.create_stream(['markPrice@1s'], ['btcusdt', 'ethusdt']

I've tried a lot of combinations including the @1s after the 'arr' parameter but haven't got it working.

Any help appreciated, for the time being Im specifying each symbol, but the 'arr' stream would be way easier for my code.
Thanks.

Metadata

Metadata

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions