Skip to content

How to receive futures trade sockets #1599

@a1phas

Description

@a1phas

spot trade data:
from binance import AsyncClient, BinanceSocketManager
client = await AsyncClient.create()
async with bsm.trade_socket(symbol) as ts:
while True:
res = await ts.recv()
await client.close_connection()

future trade data:
bsm.futures_trade_socket ?????

Can you provide an example of futures trade data? pls!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions