MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / deliveryPositionMargin

Method deliveryPositionMargin

src/node-binance-api.ts:5251–5256  ·  view source on GitHub ↗
(symbol: string, amount: number, type = 1, params: Dict = {})

Source from the content-addressed store, hash-verified

5249
5250 // type: 1: Add postion margin,2: Reduce postion margin
5251 async deliveryPositionMargin(symbol: string, amount: number, type = 1, params: Dict = {}) {
5252 params.symbol = symbol;
5253 params.amount = amount;
5254 params.type = type;
5255 return await this.privateDeliveryRequest('v1/positionMargin', params, 'POST');
5256 }
5257
5258 async deliveryPositionMarginHistory(symbol: string, params: Dict = {}) {
5259 params.symbol = symbol;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected