Merge pull request #317 from will2022/master
v3.9.3: add `marketUnit` optional property to `OrderParamsV5` interface
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.9.2",
|
"version": "3.9.3",
|
||||||
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ export interface OrderParamsV5 {
|
|||||||
side: OrderSideV5;
|
side: OrderSideV5;
|
||||||
orderType: OrderTypeV5;
|
orderType: OrderTypeV5;
|
||||||
qty: string;
|
qty: string;
|
||||||
|
marketUnit?: 'baseCoin' | 'quoteCoin';
|
||||||
price?: string;
|
price?: string;
|
||||||
triggerDirection?: 1 | 2;
|
triggerDirection?: 1 | 2;
|
||||||
orderFilter?: OrderFilterV5;
|
orderFilter?: OrderFilterV5;
|
||||||
|
|||||||
Reference in New Issue
Block a user