• Main entry point for downloading historical data. Just enter the top level directory to download data to and the symbol you want to download and this will download the hourly kline data for that symbol. This includes downloading zip files, checking the checksums, and extracting the csvs. The data will be in a nested location within the suppplied top level directory. For example, in the node command line just run this...

    let _ = await ts.apis.binance.historical_data.downloader.download_hourly_kline_data_for_symbol("/path/to/data/crypto/historical", "ETHBTC")
    

    Parameters

    • dir: string
    • symbol: string

    Returns Promise<void>