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",
|
||||
"version": "3.10.9",
|
||||
"version": "3.10.10",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bybit-api",
|
||||
"version": "3.10.9",
|
||||
"version": "3.10.10",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^1.6.6",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"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.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -60,11 +60,14 @@ export interface CollateralInfoV5 {
|
||||
currency: string;
|
||||
hourlyBorrowRate: string;
|
||||
maxBorrowingAmount: string;
|
||||
freeBorrowingAmount: string;
|
||||
freeBorrowAmount: string;
|
||||
freeBorrowingLimit: string;
|
||||
borrowAmount: string;
|
||||
availableToBorrow: string;
|
||||
borrowable: boolean;
|
||||
borrowUsageRate: string;
|
||||
marginCollateral: boolean;
|
||||
collateralSwitch: boolean;
|
||||
collateralRatio: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ export type OptionTypeV5 = 'Call' | 'Put';
|
||||
export type TradeModeV5 = 0 | 1;
|
||||
|
||||
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 AccountTypeV5 =
|
||||
|
||||
Reference in New Issue
Block a user