Merge pull request #133 from pranaypratyush/master
Update ReplaceActiveOrder for InverseClient
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "2.1.7",
|
||||
"version": "2.1.8",
|
||||
"description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -129,8 +129,12 @@ export class InverseClient extends SharedEndpoints {
|
||||
order_id?: string;
|
||||
order_link_id?: string;
|
||||
symbol: string;
|
||||
p_r_qty?: string;
|
||||
p_r_qty?: number;
|
||||
p_r_price?: string;
|
||||
take_profit?: number;
|
||||
stop_loss?: number;
|
||||
tp_trigger_by?:string;
|
||||
sl_trigger_by?:string;
|
||||
}): GenericAPIResponse {
|
||||
return this.requestWrapper.post('v2/private/order/replace', params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user