metaapi.cloud-sdk
Version:
SDK for MetaApi, a professional cloud forex API which includes MetaTrader REST API and MetaTrader websocket API. Supports both MetaTrader 5 (MT5) and MetaTrader 4 (MT4). CopyFactory copy trading API included. (https://metaapi.cloud)
15 lines (14 loc) • 412 B
TypeScript
/**
* Error which indicates that a trade have failed
*/
export default class TradeError extends Error {
numericCode: any;
stringCode: any;
/**
* Constructs the error
* @param {String} message error message
* @param {Number} numericCode numeric error code
* @param {String} stringCode string error code
*/
constructor(message: any, numericCode: any, stringCode: any);
}