Setting parameters using a configuration file
🔧

Setting parameters using a configuration file

Setting parameters in the configuration file

A configuration file is a text file containing settings for FIA.

💡
The first line in a configuration file is always [FIA]

Subsequent lines are of the form

PortfolioFile=portfolio_data.csv

It is not necessary to assign settings to every possible field. FIA assigns sensible default settings.

Boolean settings may be assigned the values True, False, Yes, No, 1, 0

Integer settings are assigned integer values

Double settings are assigned real values

String settings are assigned string values. These should not be quote-delimited.

File settings are paths to files.

The usual operating-system specific strings should be used to refer to files.

Shortcuts such as '../' may be used in file names to refer to the directory one level above the current one.