remove silly logger from ws by default. Expand spot and linear types

This commit is contained in:
tiagosiebler
2022-08-18 17:04:53 +01:00
parent ae56067c94
commit 2d0366a708
15 changed files with 174 additions and 31 deletions

View File

@@ -40,3 +40,13 @@ export const API_ERROR_CODE = {
SAME_SLTP_MODE_LINEAR: 130150,
RISK_ID_NOT_MODIFIED: 134026,
} as const;
/**
* Position idx, used to identify positions in different position modes.
* Required if you are under One-Way Mode:
*/
export enum LinearPositionIdx {
OneWayMode = 0,
BuySide = 1,
SellSide = 2,
}