Merge pull request #354 from karimsan/master
Update type `AccountMarginModeV5` and interface `CollateralInfoV5`
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.9",
|
"version": "3.10.10",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.10.9",
|
"version": "3.10.10",
|
||||||
"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.9",
|
"version": "3.10.10",
|
||||||
"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",
|
||||||
@@ -80,4 +80,4 @@
|
|||||||
"url": "https://github.com/tiagosiebler/bybit-api/issues"
|
"url": "https://github.com/tiagosiebler/bybit-api/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/tiagosiebler/bybit-api#readme"
|
"homepage": "https://github.com/tiagosiebler/bybit-api#readme"
|
||||||
}
|
}
|
||||||
@@ -60,11 +60,14 @@ export interface CollateralInfoV5 {
|
|||||||
currency: string;
|
currency: string;
|
||||||
hourlyBorrowRate: string;
|
hourlyBorrowRate: string;
|
||||||
maxBorrowingAmount: string;
|
maxBorrowingAmount: string;
|
||||||
freeBorrowingAmount: string;
|
freeBorrowAmount: string;
|
||||||
|
freeBorrowingLimit: string;
|
||||||
borrowAmount: string;
|
borrowAmount: string;
|
||||||
availableToBorrow: string;
|
availableToBorrow: string;
|
||||||
borrowable: boolean;
|
borrowable: boolean;
|
||||||
|
borrowUsageRate: string;
|
||||||
marginCollateral: boolean;
|
marginCollateral: boolean;
|
||||||
|
collateralSwitch: boolean;
|
||||||
collateralRatio: string;
|
collateralRatio: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export type OptionTypeV5 = 'Call' | 'Put';
|
|||||||
export type TradeModeV5 = 0 | 1;
|
export type TradeModeV5 = 0 | 1;
|
||||||
|
|
||||||
export type TPSLModeV5 = 'Full' | 'Partial';
|
export type TPSLModeV5 = 'Full' | 'Partial';
|
||||||
export type AccountMarginModeV5 = 'REGULAR_MARGIN' | 'PORTFOLIO_MARGIN';
|
export type AccountMarginModeV5 = 'ISOLATED_MARGIN' | 'REGULAR_MARGIN' | 'PORTFOLIO_MARGIN';
|
||||||
export type UnifiedUpdateStatusV5 = 'FAIL' | 'PROCESS' | 'SUCCESS';
|
export type UnifiedUpdateStatusV5 = 'FAIL' | 'PROCESS' | 'SUCCESS';
|
||||||
|
|
||||||
export type AccountTypeV5 =
|
export type AccountTypeV5 =
|
||||||
|
|||||||
Reference in New Issue
Block a user