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",
|
"name": "bybit-api",
|
||||||
"version": "3.10.33",
|
"version": "3.10.34",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.10.33",
|
"version": "3.10.34",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.6",
|
"axios": "^1.6.6",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"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.",
|
"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",
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ export interface OrderParamsV5 {
|
|||||||
orderType: OrderTypeV5;
|
orderType: OrderTypeV5;
|
||||||
qty: string;
|
qty: string;
|
||||||
marketUnit?: 'baseCoin' | 'quoteCoin';
|
marketUnit?: 'baseCoin' | 'quoteCoin';
|
||||||
|
slippageToleranceType: string;
|
||||||
|
slippageTolerance: string;
|
||||||
price?: string;
|
price?: string;
|
||||||
triggerDirection?: 1 | 2;
|
triggerDirection?: 1 | 2;
|
||||||
orderFilter?: OrderFilterV5;
|
orderFilter?: OrderFilterV5;
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ export interface AccountOrderV5 {
|
|||||||
stopOrderType: StopOrderTypeV5;
|
stopOrderType: StopOrderTypeV5;
|
||||||
orderIv: string;
|
orderIv: string;
|
||||||
marketUnit: 'baseCoin' | 'quoteCoin';
|
marketUnit: 'baseCoin' | 'quoteCoin';
|
||||||
|
slippageToleranceType: string;
|
||||||
|
slippageTolerance: string;
|
||||||
triggerPrice: string;
|
triggerPrice: string;
|
||||||
takeProfit: string;
|
takeProfit: string;
|
||||||
stopLoss: string;
|
stopLoss: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user