Interface IMarketInfo

IMarketInfo Interface representing market information.

const marketInfo: IMarketInfo = {
symbol: "BTC_IRT",
name: "Bitcoin/Toman",
base: "BTC",
quote: "IRT",
tradable: true,
price_precision: "0",
base_amount_precision: "8",
quote_amount_precision: "0"
};
interface IMarketInfo {
    base: string;
    base_amount_precision: `${number}`;
    name: `${string}/Toman` | `${string}/Tether`;
    price_precision: `${number}`;
    quote: QuoteCurrency;
    quote_amount_precision: `${number}`;
    symbol: `${string}_IRT` | `${string}_USDT`;
    tradable: boolean;
}

Properties

base: string

The base currency of the market.

base_amount_precision: `${number}`

The base amount precision of the market.

name: `${string}/Toman` | `${string}/Tether`

The name of the market.

price_precision: `${number}`

The price precision of the market.

The quote currency of the market.

quote_amount_precision: `${number}`

The quote amount precision of the market.

symbol: `${string}_IRT` | `${string}_USDT`

The symbol of the market.

tradable: boolean

Indicates if the market is tradable.