import {BaseMessage} from "../BaseMessage"; import {EnumValue} from "../../enums/EnumValue"; /** * Message that client send when he wants to start/stop receive data from crypto market. */ export interface CryptoMarketDataRequest extends BaseMessage { /** * Type of subscription action. (Add or Remove) * @type {EnumValue} */ SubscriptionAction: EnumValue; /** * Type of data that client wants to start/stop receive. * @type {EnumValue} */ DataType: EnumValue; /** * Abbreviation for pair name. Has to be divided with "-" symbol. For example BTC-USD * @type {String} */ Symbol: string; /** * Exchange for which client want to start/stop receive data of specified type. If value will be null client will receive data from all available exchanges. * @type {String} */ Exchange: string; }