Class HttpBarFetcher
java.lang.Object
com.quantfinlib.data.HttpBarFetcher
Fetches OHLCV data over HTTP from any endpoint serving CSV bars (most free
market data APIs offer a CSV export) and parses it with
CsvBarLoader. Pure JDK java.net.http — no dependencies.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpBarFetcher
public HttpBarFetcher() -
HttpBarFetcher
-
-
Method Details
-
fetchCsv
Downloads a CSV document and parses it into a series.- Throws:
IOException- on non-200 responses or malformed CSVInterruptedException
-