@reactivemarkets/switchboard-sdk
Version:
SDK for the Reactive Markets Switchboard
54 lines (53 loc) • 1.22 kB
TypeScript
import { ExecInst, SecurityType } from "@reactivemarkets/switchboard-api";
/**
* The Order Replace Request message is sent by the taker to revise the
* quantity or price of a resting order.
*/
export interface IOrderReplaceRequest {
/**
* Trading account.
*/
readonly account: string;
/**
* Execution instruction.
*/
readonly execInst?: ExecInst;
/**
* Instrument symbol.
*/
readonly symbol: string;
/**
* Exchange or venue symbol.
*/
readonly venue: string;
/**
* Tenor symbol. Defaults to SP.
*/
readonly tenor?: string;
/**
* Security Type. Defaults to SpotFwd.
*
* @readonly
*/
readonly securityType?: SecurityType;
/**
* Request identifier assigned by the client.
*/
readonly clOrderId: string;
/**
* The order identifier assigned by the trading system.
*/
readonly orderId?: string;
/**
* The cl_ord_id specified on the most recent order revision.
*/
readonly origClOrderId: string;
/**
* The revised order quantity.
*/
readonly qty?: number;
/**
* The revised order price.
*/
readonly price?: number;
}