Skip to content

binancewebsocet hep me #4

@kuratkull

Description

@kuratkull

I want it to print on the screen when there is an increase of 1% and above. I'm very new to python binance, please help me with this.
conn_key = bm.start_trade_socket('BNBBTC', process_message) I get the following output with the code.

 print("Time:{}  -  BUY/SELL{} -  {}   -   Price: {}  -  Qty: {}".format(timestamp,
                                                        event_side,
                                                        msg['s'],
                                                        msg['p'],
                                                        msg['q']))
                                                                            
conn_key = bm.start_trade_socket('BNBBTC', process_message)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions