# getAverage()
Returns the symbol current average price.
- Interface
class MidaSymbol {
getAverage (): Promise<MidaDecimal>;
}
- Example
const btcUsdt = await myAccount.getSymbol("BTCUSDT");
const averagePrice = await btcUsdt.getAverage();
Returns the symbol current average price.
class MidaSymbol {
getAverage (): Promise<MidaDecimal>;
}
const btcUsdt = await myAccount.getSymbol("BTCUSDT");
const averagePrice = await btcUsdt.getAverage();