zumokit
Version:
ZumoKit is a Wallet as a Service SDK
23 lines (22 loc) • 822 B
TypeScript
import { Decimal } from 'decimal.js';
import { TradingPairLimit } from './TradingPairLimit';
import { TradingPairJSON, CurrencyCode } from '../interfaces';
/** Trading pair */
export declare class TradingPair {
/** Trading pair, e.g. "BTC-GBP" */
pair: string;
/** Base currency, e.g. "BTC" */
base: CurrencyCode;
/** Quote currency, e.g. "GBP" */
quote: CurrencyCode;
/** Flag indicating it trading is currently enabled for this pair */
trading: boolean;
/** Minimum tradeable amounts in base and quote currency */
min: TradingPairLimit;
/** Minimum tradeable amounts in base and quote currency */
max: TradingPairLimit;
/** Fee rate in percentage points, e.g. 0.1 represents 0.1% */
feeRate: Decimal;
/** @internal */
constructor(json: TradingPairJSON);
}