@ln-markets/sdk
Version:
TypeScript SDK for LNMarkets API v2
9 lines (8 loc) • 342 B
TypeScript
import type { UUID } from '../../index.js';
import type { RestFetcher } from '../../rest.js';
import type { FuturesOpenOrRunningTrade } from './types.js';
export declare const createUpdateTrade: (request: RestFetcher) => (body: {
id: UUID;
type: "stoploss" | "takeprofit";
value: number;
}) => Promise<FuturesOpenOrRunningTrade>;