diff --git a/README.md b/README.md index 95cd303..7866115 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ const API_KEY = 'xxx'; const PRIVATE_KEY = 'yyy'; const useLivenet = false; -const client = new javascript( +const client = new SpotClient( API_KEY, PRIVATE_KEY, diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 946beff..31bd5d4 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -294,6 +294,7 @@ export class InverseClient extends SharedEndpoints { setUserLeverage(params: { symbol: string; leverage: number; + leverage_only?: boolean; }): GenericAPIResponse { return this.requestWrapper.post('v2/private/position/leverage/save', params); }