Hi, I am wondering why I do not get updates for ‘new’ events when running following python code for my paper account
@stream.on(r'^trade_updates$')
async def on_order_event(conn, channel, trade):
print("trade",trade)
stream.run(['trade_updates'])
If I submit a new order via the website, nothing happens. If I cancel the same order, I get notified of both ‘new’ and ‘canceled’ events:
trade Entity({ ‘event’: ‘new’,
‘order’: { ‘asset_class’: ‘us_equity’,
…
trade Entity({ ‘event’: ‘canceled’,
‘order’: { ‘asset_class’: ‘us_equity’,
…
Anyone got an idea why the first event is not triggering independently?
Thanks