feat(v3.10.34): added slippage tolerance types to order endpoints
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "3.10.33",
|
||||
"version": "3.10.34",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bybit-api",
|
||||
"version": "3.10.33",
|
||||
"version": "3.10.34",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^1.6.6",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "3.10.33",
|
||||
"version": "3.10.34",
|
||||
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -18,6 +18,8 @@ export interface OrderParamsV5 {
|
||||
orderType: OrderTypeV5;
|
||||
qty: string;
|
||||
marketUnit?: 'baseCoin' | 'quoteCoin';
|
||||
slippageToleranceType: string;
|
||||
slippageTolerance: string;
|
||||
price?: string;
|
||||
triggerDirection?: 1 | 2;
|
||||
orderFilter?: OrderFilterV5;
|
||||
|
||||
@@ -42,6 +42,8 @@ export interface AccountOrderV5 {
|
||||
stopOrderType: StopOrderTypeV5;
|
||||
orderIv: string;
|
||||
marketUnit: 'baseCoin' | 'quoteCoin';
|
||||
slippageToleranceType: string;
|
||||
slippageTolerance: string;
|
||||
triggerPrice: string;
|
||||
takeProfit: string;
|
||||
stopLoss: string;
|
||||
|
||||
Reference in New Issue
Block a user