(symbol: string, amount: number, type = 1, params: Dict = {})
| 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; |
nothing calls this directly
no test coverage detected