UNPKG

@ln-markets/sdk

Version:
20 lines 560 B
export const createNewTrade = (instance) => { return async ({ leverage, margin, price, quantity, side, stoploss, takeprofit, type, clientId, }) => { return instance .post('futures/isolated/trade', { json: { leverage, margin, price, quantity, side, stoploss, takeprofit, type, clientId, }, }) .json(); }; }; //# sourceMappingURL=new-trade.js.map