import {BaseMessage} from "../BaseMessage"; import {EnumValue} from "../../enums/EnumValue"; import {CryptoTradingStatistic} from "./CryptoTradingStatistic"; import {CryptoRiskInfo} from "./CryptoRiskInfo"; import {CryptoMarketCommission} from "./CryptoMarketCommission"; /** * Represents information about account with Crypto trading. */ export interface CryptoAccountInfo extends BaseMessage { /** * Name of account. * @type {string} */ AccountName: string; /** * Commission rate for account. * @type {CryptoMarketCommission} */ CommissionRate: CryptoMarketCommission; /** * Type of account. * @type {EnumValue} */ ContractType: EnumValue; /** * Name of account's risk settings. * @type {string} */ RiskInfoName: string; /** * Value indicating whether account is locked. * @type {boolean} */ IsLocked: boolean; /** * Value indicating whether account is enabled. * @type {boolean} */ IsEnabled: boolean; /** * Deleted state means account is disable and not preloaded into the server. * @type {boolean} */ IsDeleted: boolean; /** * Value indicating whether is overnights enabled. * @type {boolean} */ IsOvernightsEnabled: boolean; /** * Value indicating whether account need to use smart route. * @type {boolean} */ UseSmartRoute: boolean; /** * Values that represents trading statistic for current account. * @type {CryptoTradingStatistic} */ TradingStatistic: CryptoTradingStatistic; /** * Risk settings for current account. * @type {CryptoRiskInfo} */ RiskInfo: CryptoRiskInfo; /** * GroupId for current account. * @type {number} */ GroupId: number; }