dbn-go-hist get-range#
Download a range of data from the Hist API
dbn-go-hist get-range [flags]Options#
--all Request data for all symbols
--compression dbn.Compression Compression to use ('none', 'zstd') (default zstd)
-d, --dataset string Dataset to request
--encoding dbn.Encoding Encoding to use ('dbn', 'csv', 'json') (default dbn)
-e, --end string End time in ISO 8601 format
-f, --file string Newline delimited file to read symbols from (# is comment)
--force Do not warn about all symbols or cost
-h, --help help for get-range
-o, --output string Output file for data ('-' is stdout)
-s, --schema string Schema to request
--sin dbn.SType Set stype_in: one of instrument_id, id, instr, raw_symbol, raw, smart, continuous, parent, nasdaq, cms (default: 'raw') (default raw_symbol)
--sout dbn.SType Set stype_out: one of instrument_id, id, instr, raw_symbol, raw, smart, continuous, parent, nasdaq, cms (default: 'id') (default instrument_id)
-t, --start string Start time in ISO 8601 formatOptions inherited from parent commands#
-k, --key string Databento API key (or use DATABENT_API_KEY envvar)SEE ALSO#
- dbn-go-hist - dbn-go-hist queries the Databento Historical API.