| 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); } |