forex software

Create and Test Forex Strategies

forex software

express-generator:fetch-forex-rates

Forex Rates

This page covers metadata refresh jobs handled by fetch.js:

  • Forex rates (fx_rates)
  • Symbol information (symbol_info)

Both jobs can be run separately or together.

Update fx rates

Downloads the latest Forex rates to ./res/fx-rates.json.

node ./bin/fetch.js --fx-rates true

INI equivalent:

fx_rates = true

Recommended use:

  • Run once per day or more frequently.
  • Run before generation or backtesting sessions.

Update Symbol information

Downloads symbols metadata file ./res/<server>.json.

node ./bin/fetch.js --server Premium --symbol-info true

INI equivalent:

server = Premium
symbol_info = true

Recommended use:

  • Usually once per day.
  • Also run after changing server.

Update both in one command

node ./bin/fetch.js --server MetaQuotes --fx-rates true --symbol-info true

This is the preferred metadata refresh command before large fetch or generation sessions.

Notes and troubleshooting

  • If symbol info file is missing, data fetch cannot continue. Run with –symbol-info true first.
  • If using a different server, fetch symbol info for that server so ./res/<server>.json is available.
  • Use –silent true for automation scripts to reduce console output.