Constant | Value | Description |
A | + | Add |
D | - | Remove |
M | m | Modify |
Constant | Value | Description |
A | Active | Active |
D | Deleted | Deleted |
Constant | Value | Description |
B | B | Buy |
S | S | Sell |
Constant | Value | Description |
A | Allow list | Allow list |
D | Deny list | Deny list |
Constant | Value | Description |
I | I | Intention |
D | D | Placement |
R | R | Refund |
O | O | Refund close |
C | C | Deposit close |
Constant | Value | Description |
F | Fixed rate deposit | |
L | Floating rate deposit |
Constant | Value | Description |
Append to the orderbook | ||
N | N | Immediately or cancel |
W | W | Withdraw unmatched remainder |
Constant | Value | Description |
R | Rus | Russian |
E | Eng | English |
Constant | Value | Description |
M | M | Market |
L | L | Limit |
Constant | Value | Description |
O | Act | Active |
M | + | Matched |
W | - | Withdrawn |
R | -TS | Rejected by the Trading System |
C | -C | Cancelled by the Trading System |
D | -D | Cancelled by Trading System on user's disconnect (COD) |
Constant | Value | Description |
A | Operations are allowed | |
S | S | Operations are suspended |
N | B | Suspended for trading, settlement is allowed |
Constant | Value | Description |
S | Price split allowed | |
O | O | One price only |
Constant | Value | Description |
M | + | Matched/confirmed (included into off-line settlement) |
U | Unsettled | No settlement instruction has been sent yet |
C | -C | Cancelled by the Trading System |
P | Waiting | Included into settlement instruction |
W | - | Cancelled / Settlement cancellation |
X | X | Discontinued as part of cash settlement |
L | L | Confirmation by liquidity provider required |
H | H | Sufficiency check of collateral |
F | -F | Declined by liquidity provider |
No input fields
Output field | Description | Type | Size | Remarks |
CPLISTID | ID of list | INTEGER | 12 | ID of the counterparty list |
FIRMID | List owner's firm Id | CHAR | 12 | List owner's firm Id |
NAME | Partner list name | CHAR | 30 | Partner list name set by the user |
TYPE | Partner list type | TCPListType | 1 | Partner list type (allow list or deny list) |
STATUS | Partner list status | TActiveStatus | 1 | Partner list status |
No input fields
Output field | Description | Type | Size | Remarks |
CPLISTID | ID of list | INTEGER | 12 | ID of the counterparty list |
FIRMID | List owner's firm Id | CHAR | 12 | List owner's firm Id |
CPFIRMID | Counterparty | CHAR | 12 | Counterparty firm |
STATUS | Partner list status | TActiveStatus | 1 | Partner list status |
No input fields
Output field | Description | Type | Size | Remarks |
DEPOSITNO | Deposit number | INTEGER | 12 | Deposit number in the Trading System |
SECCODE* | Security | CHAR | 12 | Security ID |
CURRENCYID | Currency | CHAR | 4 | Deposit settlement currency |
FIRMID | Firm | CHAR | 12 | Firm ID |
BANKACCID | Bank account | CHAR | 12 | Settlement account/code ID in the settlement house |
STARTDATE | Deposit date | DATE | 8 | The date the deposit was placed |
ENDDATE | Return date | DATE | 8 | Deposit return date |
RETURNDATE | Actual return date | DATE | 8 | Date of actual return of the deposit |
INITIALVALUE | Deposit value | FIXED | 16.2 | Initial deposit value, expressed in the currency of the settlement |
INITIALPRICE | Rate, % | FLOAT | 17 | Initial deposit rate, % |
CURRENTVALUE | Current value | FIXED | 16.2 | Current deposit value, expressed in the currency of the settlement |
CURRENTPRICE | Current rate, % | FLOAT | 17 | Current deposit rate, % |
RETURNVALUE | Return value | FIXED | 16.2 | Return value of the deposit, expressed in the currency of the settlement |
WAVALUE | Weighted average value | FIXED | 16.2 | Weighted average value of the deposit, expressed in the currency of the settlement |
CURRENTACCRUED | Value of accrued interest | FIXED | 16.2 | Accrued interest, expressed in the currency of settlement |
DEPOSITRATETYPE | Deposit rate type | TDepositRate | 1 | Deposit rate type |
BENCHMARKID | Benchmark | CHAR | 12 | Benchmark identifier |
No input fields
Output field | Description | Type | Size | Remarks |
DEPOSITNO | Deposit number | INTEGER | 12 | Deposit number in the Trading System |
SECCODE* | Security | CHAR | 12 | Security ID |
CURRENCYID | Settlement currency | CHAR | 4 | Settlement currency |
FIRMID | Firm | CHAR | 12 | Firm ID |
BANKACCID | Bank account | CHAR | 12 | Settlement account/code ID in the settlement house |
DATE | Date of change | DATE | 8 | Date of deposit change |
CURRENTVALUE | Current Value | FIXED | 16.2 | Value, expressed in the currency of settlement |
PLANNEDVALUE | Planned Volume | FIXED | 16.2 | Value, expressed in the currency of settlement |
CURRENTPRICE | Current Rate | FLOAT | 17 | Current Adjusted Rate |
PLANNEDPRICE | Planned Rate | FLOAT | 17 | Planned Adjusted Rate |
CURRENTWITHDRAWAL | Deposit withdrawal | FIXED | 16.2 | Deposit withdrawal amount |
PLANNEDWITHDRAWAL | Deposit withdrawal | FIXED | 16.2 | Deposit withdrawal amount |
CURRENTREFUND | Deposit refund | FIXED | 16.2 | Deposit refund amount |
PLANNEDREFUND | Deposit refund | FIXED | 16.2 | Deposit refund amount |
BENCHMARKID | Benchmark | CHAR | 12 | Benchmark identifier |
BENCHMARKVALUE | Benchmark value, % | FLOAT | 10 | The value of the indicator that was used today to calculate the interest on this trade |
SPREAD | Spread, % | FLOAT | 17 | Spread value, % |
Input field | Description | Type | Size | Remarks |
SECBOARD | Board | CHAR | 4 | Board ID for the security |
SECCODE* | Security | CHAR | 12 | Security ID |
Output field | Description | Type | Size | Remarks |
SECBOARD | Board | CHAR | 4 | Board ID for the security |
SECCODE* | Security | CHAR | 12 | Security ID |
BUYSELL | Direction | TBuySell | 1 | Order direction - "Buy / Sell" |
PRICE | Rate, % | FLOAT | 17 | |
QUANTITY | Lots | INTEGER | 16 | Quantity, expressed in lots |
VALUE | Value | FIXED | 16.2 | Value, expressed in the currency of settlement |
Output field | Description | Type | Size | Remarks |
SECBOARD | Board | CHAR | 4 | Board ID for the security |
SECCODE* | Security | CHAR | 12 | Security ID |
SECNAME | Name | CHAR | 30 | |
LATNAME | CHAR | 30 | ||
FACEVALUE | Face value | FLOAT | 17 | Face value of one Security, expressed in the currency, in which the Security is nominated |
FACEUNIT | Currency of instrument | CHAR | 4 | Currency in which security is denominated |
SHORTNAME | Security | CHAR | 10 | |
LOTSIZE | Lot size | INTEGER | 8 | Number of securities in one lot |
MINSTEP | Minimum price step | FLOAT | 10 | The minimal step by which two prices may differ |
MINQTY | Lots | INTEGER | 16 | Quantity, expressed in lots |
STATUS | Status | TSecStatus | 1 | Flag "trading operations allowed/suspended" |
DECIMALS | Number of decimals | INTEGER | 2 | Number of decimals in the Value field (is used to format PRICE-type fields) |
CURRENCYID | Settlement currency | CHAR | 4 | Settlement currency |
BID | Bid | FLOAT | 17 | Best bid price |
BIDDEPTH | Best bid depth | INTEGER | 16 | Total unmatched volume of all active buy orders at the current best bid price, expressed in lots |
OFFER | Offer | FLOAT | 17 | Best offer price |
OFFERDEPTH | Best offer depth | INTEGER | 16 | Volume of all sell orders at the best price, expressed in lots |
No input fields
Output field | Description | Type | Size | Remarks |
DEPOSITNO | Deposit number | INTEGER | 12 | Deposit number in the Trading System |
TRADENO | Trade # | INTEGER | 12 | Trade number in the Trading System |
PARENTTRADENO | Витринная сделка № | INTEGER | 12 | Идентификационный номер витринной сделки в Торговой Системе |
TRADEDATE | Дата сделки | DATE | 8 | Дата сделки |
SECCODE | Security | CHAR | 12 | Security ID |
CURRENCYID | Settlement currency | CHAR | 4 | Settlement currency |
FIRMID | Firm | CHAR | 12 | Firm ID |
BANKACCID | Bank account | CHAR | 12 | Settlement account/code ID in the settlement house |
SETTLEDATE | Дата расчетов | DATE | 8 | Дата расчетов |
REFUND | Пополнение | FIXED | 16.2 | Value, expressed in the currency of settlement |
WITHDRAW | Изъятие | FIXED | 16.2 | Value, expressed in the currency of settlement |
RATE | Rate | FLOAT | 17 | Rate |
STATUS | Status | TTradeStatus | 1 | Trade status |
DEPOSITINTENT | Deposit trade type | TDepositIntent | 1 | Deposit trade type |
No input fields
Output field | Description | Type | Size | Remarks |
QUOTENO | Quote number | INTEGER | 12 | Quote ID number |
ENTRYDATE | Date | DATE | 8 | |
ENTRYTIME | Time | TIME | 6 | |
STATUS | Status | TQuoteStatus | 1 | Status of a quote |
BUYSELL | Direction | TBuySell | 1 | Quote direction - "Buy / Sell" |
USERID | User ID | CHAR | 12 | |
FIRMID | Firm | CHAR | 12 | Firm ID |
SECCODE* | Security | CHAR | 12 | Security ID |
PRICE | Price | FLOAT | 17 | |
QUANTITY | Lots | INTEGER | 16 | Quantity, expressed in lots |
CPLISTID | ID of list | INTEGER | 12 | ID of the counterparty list |
CPFIRMID | Counterparty | CHAR | 12 | Counterparty firm |
EXTREF | External user ID | CHAR | 12 | A reference field which may be used as a back-feed by an external system. May contain, for example, a user ID of the external system user who entered the original order into that external system. |
MICROSECONDS | Microseconds | INTEGER | 6 | Time when the quote was registered at the Trading System, microseconds |
UPDATETIME | Update time | TIME | 6 | Time when the quote was updated last time (cancelled) |
UPDATE_MICROSECONDS | Update time microseconds | INTEGER | 6 | Time when the quote was updated last time (cancelled), microseconds |
No input fields
Output field | Description | Type | Size | Remarks |
QUOTENO | Quote number | INTEGER | 12 | Quote ID number |
STATUS | Status | TQuoteStatus | 1 | Status of quote |
BUYSELL | Direction | TBuySell | 1 | Quote direction - "Buy / Sell" |
FIRMID | Firm | CHAR | 12 | Firm ID |
SECCODE* | Security | CHAR | 12 | Security ID |
PRICE | Price | FLOAT | 17 | |
QUANTITY | Lots | INTEGER | 16 | Quantity, expressed in lots |
EXTREF | External user ID | CHAR | 12 | A reference field which may be used as a back-feed by an external system. May contain, for example, a user ID of the external system user who entered the original order into that external system. |
No input fields
Output field | Description | Type | Size | Remarks |
FIRMID | Firm | CHAR | 12 | Firm ID |
CPLISTID | ID of list | INTEGER | 12 | ID of the counterparty list |
Input field | Description | Type | Size | Remarks |
LANGUAGEID | Language code | TLanguage | 1 | Language code. Available codes: R - Russian, E - English |
Input field | Description | Type | Size | Remarks |
NAME | Partner list name | CHAR | 30 | Partner list name |
TYPE | Partner list type | TCPListType | 1 | Partner list type (allow list or deny list) |
CPFIRMID+ | Counterparty | CHAR | 12 | Counterparty firm |
Input field | Description | Type | Size | Remarks |
CPLISTID | ID of list | INTEGER, NOT NULL | 12 | ID of the counterparty list |
Input field | Description | Type | Size | Remarks |
CPLISTID | ID of list | INTEGER, NOT NULL | 12 | ID of the counterparty list |
NAME | Partner list name | CHAR | 30 | Partner list name set by the user |
TYPE | Partner list type | TCPListType | 1 | Partner list type (allow list or deny list) |
CPFIRMID+ | Counterparty | CHAR | 12 | Counterparty firm |
CPFIRMID_OPERATION+ | Operation with a partner | TAction | 1 | Operation with a partner |
Input field | Description | Type | Size | Remarks |
TRDACCID | Trading account | CHAR | 12 | Trading account number |
BUYSELL | Direction | TBuySell | 1 | Order direction - "Buy / Sell" |
SECBOARD | Board | CHAR | 4 | Board ID for the security |
SECCODE* | Security | CHAR | 12 | Security ID |
CPFIRMID | Counterparty | CHAR | 12 | ID of the firm the order is addressed to |
REPORATE | REPO rate | FLOAT | 17 | REPO rate, expressed in % |
VALUE | Order value | FIXED | 16.2 | Order value, expressed in the currency of settlement |
CLIENTCODE | Client code | CHAR | 12 | Client code assigned by the broker |
BROKERREF | Broker reference | CHAR | 20 | Additional information entered by the trading firm (usually - client instruction number) |
EXTREF | External user ID | CHAR | 12 | A reference field which may be used as a back-feed by an external system. May contain, for example, a user ID of the external system user who entered the original order into that external system. |
MATCHREF | Matching reference | CHAR | 10 | Identical text value entered by both trade parties |
SETTLECODE | Settlement code | CHAR | 12 | Settlement code for the trade |
REPOTERM | REPO term | INTEGER | 4 | REPO term expressed in calendar days. The term starts on the next day after the first REPO leg settlement and ends on the day of the second REPO leg settlement inclusive. |
TRDACCFIRMID | Firm for trading account | CHAR | 12 | Firm identificator for trading account |
DEPOSITNO | Deposit number | INTEGER | 12 | Deposit number in the Trading System |
ACCEPTEDORDERNO | ID of a deal to accept | INTEGER | 12 | Accepted counterparty's negotiated deal number (if an order is send in reply to negotiated deal) or white spaces |
Input field | Description | Type | Size | Remarks |
TRDACCID | Trading account | CHAR | 12 | Trading account number |
BUYSELL | Direction | TBuySell | 1 | Order direction - "Buy / Sell" |
MKTLIMIT | Type | TMktLimit | 1 | Order type: "limit/market" |
SPLITFLAG | Price type | TSplitFlag | 1 | Order type option: "allow/not allow price split" |
IMMCANCEL | Order processing type | TImmCancel | 1 | Append to orderbook, immediately or cancel, withdraw remainder |
SECBOARD | Board | CHAR | 4 | Board ID for the security |
SECCODE* | Security | CHAR | 12 | Security ID |
PRICE | Rate | FLOAT | 17 | Rate |
VALUE | Order value | FIXED | 16.2 | Order value, expressed in the currency of settlement |
CLIENTCODE | Client code | CHAR | 12 | Client code assigned by the broker |
BROKERREF | Broker reference | CHAR | 20 | Additional information entered by the trading firm (usually - client instruction number) |
EXTREF | External user ID | CHAR | 12 | A reference field which may be used as a back-feed by an external system. May contain, for example, a user ID of the external system user who entered the original order into that external system. |
TRDACCFIRMID | Firm for trading account | CHAR | 12 | Firm identificator for trading account |
DEPOSITNO | Deposit number | INTEGER | 12 | Deposit number in the Trading System |
Input field | Description | Type | Size | Remarks |
BUYSELL | Direction | TBuySell | 1 | Order direction - "Buy / Sell" |
SECCODE* | Security | CHAR | 12 | Security ID |
PRICE | Price | FLOAT | 17 | |
QUANTITY | Lots | INTEGER | 16 | Quantity, expressed in lots |
CPLISTID | ID of list | INTEGER | 12 | ID of the counterparty list |
CPFIRMID | Counterparty | CHAR | 12 | Counterparty firm |
EXTREF | External user ID | CHAR | 12 | A reference field which may be used as a back-feed by an external system. May contain, for example, a user ID of the external system user who entered the original order into that external system. |
Input field | Description | Type | Size | Remarks |
TRDACCID | Trading account | CHAR | 12 | Trading account number |
BUYSELL | Direction | TBuySell | 1 | Order direction - "Buy / Sell" |
SECBOARD | Board | CHAR | 4 | Board ID for the security |
SECCODE* | Security | CHAR | 12 | Security ID |
CPFIRMID | Counterparty | CHAR | 12 | Counterparty firm |
PRICE | Rate | FLOAT | 17 | Rate |
QUANTITY | Lots | INTEGER | 16 | Quantity, expressed in lots |
BROKERREF | Broker reference | CHAR | 20 | Additional information entered by the trading firm (usually - client instruction number) |
MATCHREF | Matching reference | CHAR | 10 | Identical text value entered by both trade parties |
SETTLECODE | Settlement code | CHAR | 12 | Settlement code for the trade |
EXTREF | External user ID | CHAR | 12 | A reference field which may be used as a back-feed by an external system. May contain, for example, a user ID of the external system user who entered the original order into that external system. |
REFUNDRATE | Refund rate, % | FIXED | 9.2 | Fixed refund rate in case of default on the second REPO leg, expressed in percents. Note: refund rate must be the same in opposite order in order to be matched |
ACCEPTEDQUOTENO | ID of a quote to accept | INTEGER | 12 | Number of quote being accepted (if the order is sent in reply to the quote), otherwise fill with spaces |
ACCEPTEDORDERNO | ID of a deal to accept | INTEGER | 12 | Accepted counterparty's negotiated deal number (if an order is send in reply to negotiated deal) or white spaces |
CLIENTCODE | Client code | CHAR | 12 | Client code assigned by the broker |
VALUE | Value | FIXED | 16.2 | Value, expressed in the currency of settlement |
TRDACCFIRMID | Firm for trading account | CHAR | 12 | Firm identificator for trading account |
CPUSERALIAS | Counterparty user alias | CHAR | 12 | Alias of the user the order is addressed to |
Input field | Description | Type | Size | Remarks |
OPERATION | Partner list operation | TAction | 1 | Quote view deny list operation: 'A' - set deny list, 'D' - reset deny list |
CPLISTID | ID of list | INTEGER | 12 | ID of the counterparty list |
Input field | Description | Type | Size | Remarks |
QUOTENO | Quote number | INTEGER | 12 | Quote ID number |
Key fields are marked in bold.
Fields that contain security code are marked with asterisk (*).
Repeated field groups are marked with plus sign (+).