binance 2.15.19 → 2.15.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/types/shared.d.ts +1 -1
- package/lib/types/spot.d.ts +8 -3
- package/package.json +1 -1
package/lib/types/shared.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type BinanceBaseUrlKey = 'spot' | 'spot1' | 'spot2' | 'spot3' | 'spot4' |
|
|
|
8
8
|
*/
|
|
9
9
|
export type OrderTimeInForce = 'GTC' | 'IOC' | 'FOK' | 'GTX' | 'GTE_GTC' | 'GTD';
|
|
10
10
|
export type StringBoolean = 'TRUE' | 'FALSE';
|
|
11
|
-
export type SideEffects = 'MARGIN_BUY' | 'AUTO_REPAY' | 'NO_SIDE_EFFECT';
|
|
11
|
+
export type SideEffects = 'MARGIN_BUY' | 'AUTO_REPAY' | 'NO_SIDE_EFFECT' | 'AUTO_BORROW_REPAY' | 'NO_SIDE_EFFECT';
|
|
12
12
|
/**
|
|
13
13
|
* ACK = confirmation of order acceptance (no placement/fill information)
|
|
14
14
|
* RESULT = fill state
|
package/lib/types/spot.d.ts
CHANGED
|
@@ -861,13 +861,18 @@ export interface MarginAccountRecord {
|
|
|
861
861
|
txId: number;
|
|
862
862
|
}
|
|
863
863
|
export interface QueryCrossMarginAccountDetailsParams {
|
|
864
|
+
created: boolean;
|
|
864
865
|
borrowEnabled: boolean;
|
|
865
866
|
marginLevel: numberInString;
|
|
866
867
|
totalAssetOfBtc: numberInString;
|
|
867
868
|
totalLiabilityOfBtc: numberInString;
|
|
868
869
|
totalNetAssetOfBtc: numberInString;
|
|
870
|
+
totalCollateralValueInUSDT: numberInString;
|
|
871
|
+
totalOpenOrderLossInUSDT: numberInString;
|
|
869
872
|
tradeEnabled: boolean;
|
|
870
|
-
|
|
873
|
+
transferInEnabled: boolean;
|
|
874
|
+
transferOutEnabled: boolean;
|
|
875
|
+
accountType: string;
|
|
871
876
|
userAssets: MarginBalance[];
|
|
872
877
|
}
|
|
873
878
|
export interface BasicMarginAssetParams {
|
|
@@ -4625,7 +4630,7 @@ export interface SubmitMarginOTOOrderParams {
|
|
|
4625
4630
|
isIsolated?: 'TRUE' | 'FALSE';
|
|
4626
4631
|
listClientOrderId?: string;
|
|
4627
4632
|
newOrderRespType?: 'ACK' | 'RESULT' | 'FULL';
|
|
4628
|
-
sideEffectType?:
|
|
4633
|
+
sideEffectType?: SideEffects;
|
|
4629
4634
|
selfTradePreventionMode?: 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'NONE';
|
|
4630
4635
|
autoRepayAtCancel?: boolean;
|
|
4631
4636
|
workingType: 'LIMIT' | 'LIMIT_MAKER';
|
|
@@ -4679,7 +4684,7 @@ export interface MarginOTOOrder {
|
|
|
4679
4684
|
export interface SubmitMarginOTOCOOrderParams {
|
|
4680
4685
|
symbol: string;
|
|
4681
4686
|
isIsolated?: 'TRUE' | 'FALSE';
|
|
4682
|
-
sideEffectType?:
|
|
4687
|
+
sideEffectType?: SideEffects;
|
|
4683
4688
|
autoRepayAtCancel?: boolean;
|
|
4684
4689
|
listClientOrderId?: string;
|
|
4685
4690
|
newOrderRespType?: 'ACK' | 'RESULT' | 'FULL';
|
package/package.json
CHANGED