v3.3.9: fix copy trading close order endpoint. add ws log for topic sub request. add example for rest copy closing.

This commit is contained in:
tiagosiebler
2023-01-07 12:05:32 +00:00
parent dbdaa6a865
commit 48e62402b8
4 changed files with 37 additions and 5 deletions

View File

@@ -85,9 +85,10 @@ export class CopyTradingClient extends BaseRestClient {
closeOrder(
params: CopyTradingCloseOrderRequest
): Promise<APIResponseV3<any>> {
return this.postPrivate('/contract/v3/private/copytrading/order/close', {
params,
});
return this.postPrivate(
'/contract/v3/private/copytrading/order/close',
params
);
}
/** -> Positions API */