# getOrders()
Returns the trading account most recent orders for a symbol.
The amount of orders returned is at the discretion of the trading platform.
- Interface
class MidaTradingAccount {
getOrders (symbol: string): Promise<MidaOrder[]>;
}
- Example 1
const myEtherOrders = await myAccount.getOrders("ETHUSDT");
- Example 2
const myTeslaOrders = await myAccount.getOrders("#TSLA");
- Example 3
const myFerrariOrders = await myAccount.getOrders("#RACE");
- Example 4
const myGoldOrders = await myAccount.getOrders("XAUUSD");