chore(): update tests for compatibility with new testing sub account

This commit is contained in:
tiagosiebler
2023-05-16 14:48:20 +01:00
parent 065f72472e
commit a5aa7f6cf2
10 changed files with 59 additions and 38 deletions

View File

@@ -58,6 +58,7 @@ export const API_ERROR_CODE = {
V5_RISK_ID_NOT_CHANGED: 10001,
V5_AUTO_ADD_MARGIN_NOT_CHANGED: 10001,
V5_TPSL_ERROR_NO_POSITION: 10001,
V5_RISK_ID_NOT_MODIFIED: 110075,
QTY_EXCEEDS_MAX_LIMIT: 130006,
ORDER_NOT_FOUND_OR_TOO_LATE_LINEAR: 130010,
ORDER_COST_NOT_AVAILABLE: 130021,
@@ -67,6 +68,7 @@ export const API_ERROR_CODE = {
AUTO_ADD_MARGIN_NOT_MODIFIED: 130060,
INSUFFICIENT_BALANCE_FOR_ORDER_COST_LINEAR: 130080,
SAME_SLTP_MODE_LINEAR: 130150,
NOT_SUPPORTED_FOR_SUBACCOUNTS: 131003,
TRANSFER_ID_EXISTS: 131214,
RISK_ID_NOT_MODIFIED: 134026,
CONTRACT_ORDER_NOT_EXISTS: 140001,