remove dead inverse method, add write tests, update read tests, add error enums used by tests
This commit is contained in:
@@ -7,11 +7,9 @@ import {
|
||||
} from './util/requestUtils';
|
||||
import RequestWrapper from './util/requestWrapper';
|
||||
import {
|
||||
APIResponse,
|
||||
APIResponseWithTime,
|
||||
AssetExchangeRecordsReq,
|
||||
CoinParam,
|
||||
SymbolFromLimitParam,
|
||||
SymbolInfo,
|
||||
SymbolIntervalFromLimitParam,
|
||||
SymbolLimitParam,
|
||||
@@ -382,10 +380,6 @@ export class InverseClient extends BaseRestClient {
|
||||
return this.getPrivate('v2/private/trade/closed-pnl/list', params);
|
||||
}
|
||||
|
||||
setPositionMode(params: { symbol: string; mode: 0 | 3 }): GenericAPIResponse {
|
||||
return this.requestWrapper.post('v2/private/position/switch-mode', params);
|
||||
}
|
||||
|
||||
setSlTpPositionMode(params: {
|
||||
symbol: string;
|
||||
tp_sl_mode: 'Full' | 'Partial';
|
||||
|
||||
Reference in New Issue
Block a user