OrgTBoot / AlpacaTrader

0 stars 1 forks source link

AWS Log Insights - QUERIES #13

Open maimas opened 1 year ago

maimas commented 1 year ago

ORDERS

fields symbol, side, type, status, qty, filled_qty, limit_price, filled_avg_price, time_in_force, order_class, message as error_msg, @message #, @timestamp
# | filter !isempty(symbol)
| filter @message like /BUY ORDER PAYLOAD|BUY ORDER RESPONSE|STOP ORDER RESPONSE|CANCEL ORDER|POSITION CLOSED|ERROR/
| sort @timestamp desc

EXPENSIVE LAMDA RUNS

filter @type = "REPORT"
| fields @billedDuration, @timestamp, @message, @logStream, @log
| sort by @billedDuration desc, @timestamp desc
| limit 20
maimas commented 1 year ago

@vladislavmunteanu FYI