Merge pull request #460 from JJ-Cro/update07072025
feat(v4.1.14): Add new fields to response types for account, position, execution, spread trading, and websocket events.
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "4.1.13",
|
||||
"version": "4.1.14",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bybit-api",
|
||||
"version": "4.1.13",
|
||||
"version": "4.1.14",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^1.7.9",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "4.1.13",
|
||||
"version": "4.1.14",
|
||||
"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",
|
||||
|
||||
@@ -32,6 +32,10 @@ export interface WalletBalanceV5 {
|
||||
accountLTV: string;
|
||||
accountIMRate: string;
|
||||
accountMMRate: string;
|
||||
accountIMRateByMp: string;
|
||||
accountMMRateByMp: string;
|
||||
totalInitialMarginByMp: string;
|
||||
totalMaintenanceMarginByMp: string;
|
||||
totalEquity: string;
|
||||
totalWalletBalance: string;
|
||||
totalMarginBalance: string;
|
||||
|
||||
@@ -48,6 +48,8 @@ export interface PositionV5 {
|
||||
leverageSysUpdatedTime: string | '';
|
||||
createdTime: string;
|
||||
updatedTime: string;
|
||||
positionIMByMp: string;
|
||||
positionMMByMp: string;
|
||||
seq: number;
|
||||
}
|
||||
|
||||
@@ -94,6 +96,7 @@ export interface ExecutionV5 {
|
||||
orderType: OrderTypeV5;
|
||||
stopOrderType?: StopOrderTypeV5;
|
||||
execFee: string;
|
||||
execFeeV2: string;
|
||||
execId: string;
|
||||
execPrice: string;
|
||||
execQty: string;
|
||||
|
||||
@@ -121,4 +121,5 @@ export interface SpreadTradeV5 {
|
||||
execQty: string;
|
||||
execId: string;
|
||||
legs: SpreadTradeLegV5[];
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
@@ -236,6 +236,8 @@ export interface WSPositionV5 {
|
||||
autoAddMargin: number;
|
||||
positionMM: string;
|
||||
positionIM: string;
|
||||
positionIMByMp: string;
|
||||
positionMMByMp: string;
|
||||
liqPrice: string;
|
||||
bustPrice: string;
|
||||
tpslMode: string;
|
||||
@@ -350,6 +352,7 @@ export interface WSExecutionV5 {
|
||||
underlyingPrice: string;
|
||||
blockTradeId: string;
|
||||
closedSize: string;
|
||||
extraFees: string;
|
||||
seq: number;
|
||||
marketUnit: string;
|
||||
}
|
||||
@@ -405,6 +408,10 @@ export interface WSWalletV5 {
|
||||
accountLTV: string;
|
||||
accountIMRate: string;
|
||||
accountMMRate: string;
|
||||
accountIMRateByMp: string;
|
||||
accountMMRateByMp: string;
|
||||
totalInitialMarginByMp: string;
|
||||
totalMaintenanceMarginByMp: string;
|
||||
totalEquity: string;
|
||||
totalWalletBalance: string;
|
||||
totalMarginBalance: string;
|
||||
@@ -473,6 +480,8 @@ export interface WSSpreadExecutionV5 {
|
||||
createType: OrderCreateTypeV5;
|
||||
orderType: OrderTypeV5;
|
||||
execFee: string;
|
||||
execFeeV2: string;
|
||||
feeCurrency: string;
|
||||
parentExecId: string;
|
||||
execId: string;
|
||||
execPrice: string;
|
||||
|
||||
Reference in New Issue
Block a user