i have define the following code, but i don’t receive any trade execution updates, any suggestion
def run():
@conn.on(r’trade_update$’)
async def on_msg(conn, channel, data):
datasymbol = data.order[‘symbol’],
event = data.event
print(‘Order executed for’,datasymbol, data.order[‘side’], event, data.order[‘filled_qty’])
conn.run([‘trade_updates’])