v2.1.10: feat(#144): add missing endpoint for linear position mode. Type improvements & linting.
This commit is contained in:
11
src/constants/enum.ts
Normal file
11
src/constants/enum.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export const linearPositionModeEnum = {
|
||||
OneWayMode: 'MergedSingle',
|
||||
HedgeMode: 'BothSide',
|
||||
} as const;
|
||||
|
||||
export const positionTpSlModeEnum = {
|
||||
/** Full take profit/stop loss mode (a single TP order and a single SL order can be placed, covering the entire position) */
|
||||
Full: 'Full',
|
||||
/** Partial take profit/stop loss mode (multiple TP and SL orders can be placed, covering portions of the position) */
|
||||
Partial: 'Partial',
|
||||
} as const;
|
||||
Reference in New Issue
Block a user