Download Cryptocurrency Rates

Documentation for the centjes-cryptocurrencies download-rates command

Reference

Options

centjes-cryptocurrencies download-rates [--symbols SYMBOLS] [--target|--target CURRENCY] [--begin YYYY-MM-DD] [--end YYYY-MM-DD] [-o|--output FILE_PATH]

  --symbols         Comma-separated cryptocurrency symbols to download (default: all currencies from ledger)                                                     
  --target|--target Target currency symbol                                                                   default: CurrencySymbol {currencySymbolText = "USD"}
  --begin           The begin date (inclusive), default: Start of the year                                                                                       
  --end             The final date (inclusive), default: Yesterday                                                                                               
  -o|--output       Output file path (default: stdout)                                                                                                           

Environment variables

  CENTJES_CRYPTOCURRENCIES_TARGET CURRENCY    Target currency symbol                                   default: CurrencySymbol {currencySymbolText = "USD"}
  CENTJES_CRYPTOCURRENCIES_BEGIN YYYY-MM-DD   The begin date (inclusive), default: Start of the year                                                       
  CENTJES_CRYPTOCURRENCIES_END YYYY-MM-DD     The final date (inclusive), default: Yesterday                                                               
  CENTJES_CRYPTOCURRENCIES_OUTPUT FILE_PATH   Output file path (default: stdout)                                                                           

Configuration values

  Target currency symbol
  default: CurrencySymbol {currencySymbolText = "USD"}
  download-rates.target:
    # or null
    <string>
  The begin date (inclusive), default: Start of the year
  download-rates.begin:
    # or null
    # Day
    <string>
  The final date (inclusive), default: Yesterday
  download-rates.end:
    # or null
    # Day
    <string>
  Output file path (default: stdout)
  download-rates.output:
    # or null
    <string>

Combined settings

Usage: centjes-cryptocurrencies download-rates [--symbols SYMBOLS] [--target|--target CURRENCY] [--begin YYYY-MM-DD] [--end YYYY-MM-DD] [-o|--output FILE_PATH]

Download cryptocurrency exchange rates

Available settings:
  Show this help text
  switch: -h|--help

  Comma-separated cryptocurrency symbols to download (default: all currencies from ledger)
  option: --symbols SYMBOLS

  Target currency symbol
  option: --target|--target CURRENCY
  env: CENTJES_CRYPTOCURRENCIES_TARGET CURRENCY
  config:
    download-rates.target: # or null
      <string>
  default: CurrencySymbol {currencySymbolText = "USD"}

  The begin date (inclusive), default: Start of the year
  option: --begin YYYY-MM-DD
  env: CENTJES_CRYPTOCURRENCIES_BEGIN YYYY-MM-DD
  config:
    download-rates.begin: # or null
      # Day
      <string>

  The final date (inclusive), default: Yesterday
  option: --end YYYY-MM-DD
  env: CENTJES_CRYPTOCURRENCIES_END YYYY-MM-DD
  config:
    download-rates.end: # or null
      # Day
      <string>

  Output file path (default: stdout)
  option: -o|--output FILE_PATH
  env: CENTJES_CRYPTOCURRENCIES_OUTPUT FILE_PATH
  config:
    download-rates.output: # or null
      <string>