action interactivebrokers_get_accounts_account_trades { label: "Returns trades in account" description: "Returns a list of trades for the account starting at the given 'since' date to the current time (now()). Timezone is UTC. Any request with a future since date or going further than one week will result in an HTTP 400 bad request response. Calling /trades without since will return all trades for the past 24 hours.\n" provider: interactivebrokers method: GET path: "/accounts/{account}/trades" encoding: json input: { type: "string" } output: { type: "array" items: { type: "object" properties: { AvgPrice: { type: "number" } Commission: { type: "number" } CommissionCurrency: { type: "string" } ContractId: { type: "number" } Currency: { type: "string" } CustomerOrderId: { type: "number" } ExecId: { type: "string" } ExecutionTime: { type: "string" } FilledQuantity: { type: "number" } LastMarket: { type: "string" } ListingExchange: { type: "string" } OrderId: { type: "string" } OrderType: { type: "number" description: "Market = '1'\nLimit = '2'\nStop = '3'\nStopLimit = '4'\n" enum: [1, 2, 3, 4] } Quantity: { type: "number" } RemainingQuantity: { type: "number" } Side: { type: "string" enum: [1, 2] } Ticker: { type: "string" } TradePrice: { type: "number" } TradeSize: { type: "number" } } } } }