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

Function marketRequest

deprecated/node-binance-api.js:317–327  ·  view source on GitHub ↗
(url, data = {}, callback, method = 'GET')

Source from the content-addressed store, hash-verified

315 * @return {undefined}
316 */
317 const marketRequest = (url, data = {}, callback, method = 'GET') => {
318 requireApiKey('marketRequest');
319 let query = makeQueryString(data);
320 let opt = reqObj(
321 url + (query ? '?' + query : ''),
322 data,
323 method,
324 Binance.options.APIKEY
325 );
326 proxyRequest(opt, callback);
327 };
328
329 /**
330 * Create a signed http request

Callers 1

apiFunction · 0.85

Calls 4

requireApiKeyFunction · 0.85
makeQueryStringFunction · 0.85
reqObjFunction · 0.85
proxyRequestFunction · 0.85

Tested by

no test coverage detected