MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / constructor

Method constructor

src/node-binance-api.ts:180–186  ·  view source on GitHub ↗
(userOptions: Partial<IConstructorArgs> | string = {})

Source from the content-addressed store, hash-verified

178 };
179
180 constructor(userOptions: Partial<IConstructorArgs> | string = {}) {
181
182 if (userOptions) {
183 this.setOptions(userOptions);
184 }
185
186 }
187
188 options(opt = {}): Binance {
189 // // return await this.setOptions(opt, callback); // keep this method for backwards compatibility

Callers

nothing calls this directly

Calls 1

setOptionsMethod · 0.95

Tested by

no test coverage detected