@@ -544,6 +544,10 @@ func (c *Client) NewKlinesService() *KlinesService {
544
544
return & KlinesService {c : c }
545
545
}
546
546
547
+ func (c * Client ) NewUiKlinesService () * UiKlinesService {
548
+ return & UiKlinesService {c : c }
549
+ }
550
+
547
551
// NewListPriceChangeStatsService init list prices change stats service
548
552
func (c * Client ) NewListPriceChangeStatsService () * ListPriceChangeStatsService {
549
553
return & ListPriceChangeStatsService {c : c }
@@ -554,6 +558,10 @@ func (c *Client) NewListPricesService() *ListPricesService {
554
558
return & ListPricesService {c : c }
555
559
}
556
560
561
+ func (c * Client ) NewTradingDayTickerService () * TradingDayTickerService {
562
+ return & TradingDayTickerService {c : c }
563
+ }
564
+
557
565
// NewListBookTickersService init listing booking tickers service
558
566
func (c * Client ) NewListBookTickersService () * ListBookTickersService {
559
567
return & ListBookTickersService {c : c }
@@ -1122,3 +1130,164 @@ func (c *Client) NewSubAccountTransferHistoryService() *SubAccountTransferHistor
1122
1130
func (c * Client ) NewListUserUniversalTransferService () * ListUserUniversalTransferService {
1123
1131
return & ListUserUniversalTransferService {c : c }
1124
1132
}
1133
+
1134
+ // Create virtual sub-account
1135
+ func (c * Client ) NewCreateVirtualSubAccountService () * CreateVirtualSubAccountService {
1136
+ return & CreateVirtualSubAccountService {c : c }
1137
+ }
1138
+
1139
+ // Sub-Account spot transfer history
1140
+ func (c * Client ) NewSubAccountSpotTransferHistoryService () * SubAccountSpotTransferHistoryService {
1141
+ return & SubAccountSpotTransferHistoryService {c : c }
1142
+ }
1143
+
1144
+ // Sub-Account futures transfer history
1145
+ func (c * Client ) NewSubAccountFuturesTransferHistoryService () * SubAccountFuturesTransferHistoryService {
1146
+ return & SubAccountFuturesTransferHistoryService {c : c }
1147
+ }
1148
+
1149
+ // Get sub account deposit record
1150
+ func (c * Client ) NewSubAccountDepositRecordService () * SubAccountDepositRecordService {
1151
+ return & SubAccountDepositRecordService {c : c }
1152
+ }
1153
+
1154
+ // Get sub account margin futures status
1155
+ func (c * Client ) NewSubAccountMarginFuturesStatusService () * SubAccountMarginFuturesStatusService {
1156
+ return & SubAccountMarginFuturesStatusService {c : c }
1157
+ }
1158
+
1159
+ // sub account margin enable
1160
+ func (c * Client ) NewSubAccountMarginEnableService () * SubAccountMarginEnableService {
1161
+ return & SubAccountMarginEnableService {c : c }
1162
+ }
1163
+
1164
+ // get sub-account margin account detail
1165
+ func (c * Client ) NewSubAccountMarginAccountInfoService () * SubAccountMarginAccountInfoService {
1166
+ return & SubAccountMarginAccountInfoService {c : c }
1167
+ }
1168
+
1169
+ // get sub-account margin account summary
1170
+ func (c * Client ) NewSubAccountMarginAccountSummaryService () * SubAccountMarginAccountSummaryService {
1171
+ return & SubAccountMarginAccountSummaryService {c : c }
1172
+ }
1173
+
1174
+ func (c * Client ) NewSubAccountFuturesEnableService () * SubAccountFuturesEnableService {
1175
+ return & SubAccountFuturesEnableService {c : c }
1176
+ }
1177
+
1178
+ // get sub-account futures account summary, include U-M and C-M, v2 interface
1179
+ func (c * Client ) NewSubAccountFuturesAccountSummaryService () * SubAccountFuturesAccountSummaryService {
1180
+ return & SubAccountFuturesAccountSummaryService {c : c }
1181
+ }
1182
+
1183
+ // get target sub-account futures position information, include U-M and C-M, v2 interface.
1184
+ func (c * Client ) NewSubAccountFuturesPositionsService () * SubAccountFuturesPositionsService {
1185
+ return & SubAccountFuturesPositionsService {c : c }
1186
+ }
1187
+
1188
+ // execute sub-account margin account transfer
1189
+ func (c * Client ) NewSubAccountMarginTransferService () * SubAccountMarginTransferService {
1190
+ return & SubAccountMarginTransferService {c : c }
1191
+ }
1192
+
1193
+ // sub-account transfer balance to master-account
1194
+ func (c * Client ) NewSubAccountTransferSubToMasterService () * SubAccountTransferSubToMasterService {
1195
+ return & SubAccountTransferSubToMasterService {c : c }
1196
+ }
1197
+
1198
+ // Universal transfer of master and sub accounts
1199
+ func (c * Client ) NewSubAccountUniversalTransferService () * SubAccountUniversalTransferService {
1200
+ return & SubAccountUniversalTransferService {c : c }
1201
+ }
1202
+
1203
+ // Query the universal transfer history of sub and master accounts
1204
+ func (c * Client ) NewSubAccUniversalTransferHistoryService () * SubAccUniversalTransferHistoryService {
1205
+ return & SubAccUniversalTransferHistoryService {c : c }
1206
+ }
1207
+
1208
+ // Binance Leveraged Tokens enable
1209
+ func (c * Client ) NewSubAccountBlvtEnableService () * SubAccountBlvtEnableService {
1210
+ return & SubAccountBlvtEnableService {c : c }
1211
+ }
1212
+
1213
+ // query sub-account api ip restriction
1214
+ func (c * Client ) NewSubAccountApiIpRestrictionService () * SubAccountApiIpRestrictionService {
1215
+ return & SubAccountApiIpRestrictionService {c : c }
1216
+ }
1217
+
1218
+ // delete sub-account ip restriction
1219
+ func (c * Client ) NewSubAccountApiDeleteIpRestrictionService () * SubAccountApiDeleteIpRestrictionService {
1220
+ return & SubAccountApiDeleteIpRestrictionService {c : c }
1221
+ }
1222
+
1223
+ // add sub-account ip restriction
1224
+ func (c * Client ) NewSubAccountApiAddIpRestrictionService () * SubAccountApiAddIpRestrictionService {
1225
+ return & SubAccountApiAddIpRestrictionService {c : c }
1226
+ }
1227
+
1228
+ func (c * Client ) NewManagedSubAccountWithdrawService () * ManagedSubAccountWithdrawService {
1229
+ return & ManagedSubAccountWithdrawService {c : c }
1230
+ }
1231
+
1232
+ // Query asset snapshot of managed-sub account
1233
+ func (c * Client ) NewManagedSubAccountSnapshotService () * ManagedSubAccountSnapshotService {
1234
+ return & ManagedSubAccountSnapshotService {c : c }
1235
+ }
1236
+
1237
+ // managed-sub account query transfer log, this interface is for investor
1238
+ func (c * Client ) NewManagedSubAccountQueryTransferLogForInvestorService () * ManagedSubAccountQueryTransferLogForInvestorService {
1239
+ return & ManagedSubAccountQueryTransferLogForInvestorService {c : c }
1240
+ }
1241
+
1242
+ func (c * Client ) NewManagedSubAccountQueryTransferLogForTradeParentService () * ManagedSubAccountQueryTransferLogForTradeParentService {
1243
+ return & ManagedSubAccountQueryTransferLogForTradeParentService {c : c }
1244
+ }
1245
+
1246
+ // Investor account inquiry custody account futures assets
1247
+ func (c * Client ) NewManagedSubAccountQueryFuturesAssetService () * ManagedSubAccountQueryFuturesAssetService {
1248
+ return & ManagedSubAccountQueryFuturesAssetService {c : c }
1249
+ }
1250
+
1251
+ // Investor account inquiry for leveraged assets in custodial accounts
1252
+ func (c * Client ) NewManagedSubAccountQueryMarginAssetService () * ManagedSubAccountQueryMarginAssetService {
1253
+ return & ManagedSubAccountQueryMarginAssetService {c : c }
1254
+ }
1255
+
1256
+ // Query sub account assets, v4 interface.
1257
+ func (c * Client ) NewSubAccountAssetService () * SubAccountAssetService {
1258
+ return & SubAccountAssetService {c : c }
1259
+ }
1260
+
1261
+ // Query the list of managed-accounts
1262
+ func (c * Client ) NewManagedSubAccountInfoService () * ManagedSubAccountInfoService {
1263
+ return & ManagedSubAccountInfoService {c : c }
1264
+ }
1265
+
1266
+ // Obtain the recharge address for the custody account
1267
+ func (c * Client ) NewManagedSubAccountDepositAddressService () * ManagedSubAccountDepositAddressService {
1268
+ return & ManagedSubAccountDepositAddressService {c : c }
1269
+ }
1270
+
1271
+ func (c * Client ) NewSubAccountOptionsEnableService () * SubAccountOptionsEnableService {
1272
+ return & SubAccountOptionsEnableService {c : c }
1273
+ }
1274
+
1275
+ // Query transfer records of managed-sub accounts
1276
+ func (c * Client ) NewManagedSubAccountQueryTransferLogService () * ManagedSubAccountQueryTransferLogService {
1277
+ return & ManagedSubAccountQueryTransferLogService {c : c }
1278
+ }
1279
+
1280
+ // Execute sub account futures balance transfer
1281
+ func (c * Client ) NewSubAccountFuturesInternalTransferService () * SubAccountFuturesInternalTransferService {
1282
+ return & SubAccountFuturesInternalTransferService {c : c }
1283
+ }
1284
+
1285
+ // Query sub account transaction volume statistics list
1286
+ func (c * Client ) NewSubAccountTransactionStatisticsService () * SubAccountTransactionStatisticsService {
1287
+ return & SubAccountTransactionStatisticsService {c : c }
1288
+ }
1289
+
1290
+ // get the target sub-account futures account detail, v2 interface.
1291
+ func (c * Client ) NewSubAccountFuturesAccountV2Service () * SubAccountFuturesAccountV2Service {
1292
+ return & SubAccountFuturesAccountV2Service {c : c }
1293
+ }
0 commit comments