@@ -99,97 +99,97 @@ const requestBybit = async () => {
99
99
case 'account' :
100
100
case 'accountInfo' :
101
101
case 'accountInformation' :
102
- return await accountInformation ( ... params ) ;
102
+ return await accountInformation . apply ( null , params ) ;
103
103
case 'accountWallets' :
104
- return accountWallets ( ... params ) ;
104
+ return accountWallets . apply ( null , params ) ;
105
105
case 'balanceAll' :
106
- return await balanceAll ( ... params ) ;
106
+ return await balanceAll . apply ( null , params ) ;
107
107
case 'balanceInfo' :
108
108
case 'balanceInformation' :
109
- return await balanceInformation ( ... params ) ;
109
+ return await balanceInformation . apply ( null , params ) ;
110
110
case 'balance' :
111
111
case 'balanceOne' :
112
- return await balanceOne ( ... params ) ;
112
+ return await balanceOne . apply ( null , params ) ;
113
113
case 'currencyAll' :
114
- return await currencyAll ( ... params ) ;
114
+ return await currencyAll . apply ( null , params ) ;
115
115
case 'currencyNetworkAll' :
116
- return await currencyNetworkAll ( ... params ) ;
116
+ return await currencyNetworkAll . apply ( null , params ) ;
117
117
case 'currencyNetwork' :
118
118
case 'currencyNetworkOne' :
119
- return await currencyNetworkOne ( ... params ) ;
119
+ return await currencyNetworkOne . apply ( null , params ) ;
120
120
case 'currency' :
121
121
case 'currencyOne' :
122
- return await currencyOne ( ... params ) ;
122
+ return await currencyOne . apply ( null , params ) ;
123
123
case 'depositAll' :
124
- return await depositAll ( ... params ) ;
124
+ return await depositAll . apply ( null , params ) ;
125
125
case 'depositNew' :
126
126
case 'depositNewMaster' :
127
- return await depositNewMaster ( ... params ) ;
127
+ return await depositNewMaster . apply ( null , params ) ;
128
128
case 'depositNewSub' :
129
- return await depositNewSub ( ... params ) ;
129
+ return await depositNewSub . apply ( null , params ) ;
130
130
case 'deposit' :
131
131
case 'depositOne' :
132
- return await depositOne ( ... params ) ;
132
+ return await depositOne . apply ( null , params ) ;
133
133
case 'key' :
134
134
case 'keyInfo' :
135
135
case 'keyInformation' :
136
- return await keyInformation ( ... params ) ;
136
+ return await keyInformation . apply ( null , params ) ;
137
137
case 'marketHistory' :
138
- return await marketHistory ( ... params ) ;
138
+ return await marketHistory . apply ( null , params ) ;
139
139
case 'market' :
140
140
case 'marketInfo' :
141
141
case 'marketInformation' :
142
- return await marketInformation ( ... params ) ;
142
+ return await marketInformation . apply ( null , params ) ;
143
143
case 'marketTickers' :
144
- return await marketTickers ( ... params ) ;
144
+ return await marketTickers . apply ( null , params ) ;
145
145
case 'orderAll' :
146
- return await orderAll ( ... params ) ;
146
+ return await orderAll . apply ( null , params ) ;
147
147
case 'orderBook' :
148
- return await orderBook ( ... params ) ;
148
+ return await orderBook . apply ( null , params ) ;
149
149
case 'orderCancelAll' :
150
- return await orderCancelAll ( ... params ) ;
150
+ return await orderCancelAll . apply ( null , params ) ;
151
151
case 'orderCancel' :
152
152
case 'orderCancelOne' :
153
- return await orderCancelOne ( ... params ) ;
153
+ return await orderCancelOne . apply ( null , params ) ;
154
154
case 'orderHistoryAll' :
155
- return await orderHistoryAll ( ... params ) ;
155
+ return await orderHistoryAll . apply ( null , params ) ;
156
156
case 'orderHistory' :
157
157
case 'orderHistoryOne' :
158
- return await orderHistoryOne ( ... params ) ;
158
+ return await orderHistoryOne . apply ( null , params ) ;
159
159
case 'order' :
160
160
case 'orderOne' :
161
- return await orderOne ( ... params ) ;
161
+ return await orderOne . apply ( null , params ) ;
162
162
case 'orderLimit' :
163
163
case 'orderLimitBuy' :
164
- return await orderLimitBuy ( ... params ) ;
164
+ return await orderLimitBuy . apply ( null , params ) ;
165
165
case 'orderLimitSell' :
166
- return await orderLimitSell ( ... params ) ;
166
+ return await orderLimitSell . apply ( null , params ) ;
167
167
case 'orderMarket' :
168
168
case 'orderMarketBuy' :
169
- return await orderMarketBuy ( ... params ) ;
169
+ return await orderMarketBuy . apply ( null , params ) ;
170
170
case 'orderMarketSell' :
171
- return orderMarketSell ( ... params ) ;
171
+ return orderMarketSell . apply ( null , params ) ;
172
172
case 'tradeRates' :
173
- return await tradeRates ( ... params ) ;
173
+ return await tradeRates . apply ( null , params ) ;
174
174
case 'tradeHistoryAll' :
175
- return tradeHistoryAll ( ... params ) ;
175
+ return tradeHistoryAll . apply ( null , params ) ;
176
176
case 'tradeHistory' :
177
177
case 'tradeHistoryOne' :
178
- return await tradeHistoryOne ( ... params ) ;
178
+ return await tradeHistoryOne . apply ( null , params ) ;
179
179
case 'transferAll' :
180
- return await transferAll ( ... params ) ;
180
+ return await transferAll . apply ( null , params ) ;
181
181
case 'transfer' :
182
182
case 'transferOne' :
183
- return await transferOne ( ... params ) ;
183
+ return await transferOne . apply ( null , params ) ;
184
184
case 'transferInternal' :
185
- return await transferInternal ( ... params ) ;
185
+ return await transferInternal . apply ( null , params ) ;
186
186
case 'withdrawAll' :
187
- return await withdrawAll ( ... params ) ;
187
+ return await withdrawAll . apply ( null , params ) ;
188
188
case 'withdraw' :
189
189
case 'withdrawOne' :
190
- return await withdrawOne ( ... params ) ;
190
+ return await withdrawOne . apply ( null , params ) ;
191
191
case 'withdrawNew' :
192
- return await withdrawNew ( ... params ) ;
192
+ return await withdrawNew . apply ( null , params ) ;
193
193
default :
194
194
throw new Error ( requestBybit . name + ': ' + optional ( handler ) ) ;
195
195
}
0 commit comments