MCPcopy Index your code
hub / github.com/ccxt/ccxt / fetchOHLCV

Method fetchOHLCV

java/lib/src/main/java/io/github/ccxt/exchanges/Binance.java:380–384  ·  view source on GitHub ↗
(String symbol, String timeframe, Long since, Long limit, Map<String, Object> params)

Source from the content-addressed store, hash-verified

378 public CompletableFuture<OpenInterests> fetchOpenInterestsAsync(String[] symbols, Map<String, Object> params) { return fetchOpenInterestsAsync(symbols == null ? null : java.util.Arrays.asList(symbols), params); }
379
380 @SuppressWarnings("unchecked")
381 public List<OHLCV> fetchOHLCV(String symbol, String timeframe, Long since, Long limit, Map<String, Object> params) {
382 Object res = Helpers.joinUnwrapped(super.fetchOHLCV(symbol, timeframe, since, limit, params));
383 return toTypedList(res, OHLCV::new);
384 }
385 public List<OHLCV> fetchOHLCV(String symbol) { return fetchOHLCV(symbol, "1m", (Long) null, (Long) null, (Map<String, Object>) null); }
386 public List<OHLCV> fetchOHLCV(String symbol, String timeframe) { return fetchOHLCV(symbol, timeframe, (Long) null, (Long) null, (Map<String, Object>) null); }
387 public List<OHLCV> fetchOHLCV(String symbol, String timeframe, Long since) { return fetchOHLCV(symbol, timeframe, since, (Long) null, (Map<String, Object>) null); }

Callers 3

mainMethod · 0.95
mainMethod · 0.95
fetchOHLCVAsyncMethod · 0.45

Calls 2

joinUnwrappedMethod · 0.95
toTypedListMethod · 0.80

Tested by 1

mainMethod · 0.76