Commit Graph

7 Commits

Author SHA1 Message Date
snugs 02c18b3d2d Fixes Config.Flatten, was mutating input object 2015-12-31 12:15:55 -05:00
snugs 01a3ebfa11 Fixes ConfigTests.FlattenTest 2015-12-29 13:26:59 -05:00
snugs f2b5beb660 Adds Config.Flatten 2015-12-29 13:00:34 -05:00
snugs 3fa7642128 Improve Config.GetValue<T>, includes static Parse
The previous impl had a restriction on types that implement IConvertible
This restriction has been lifted and another step added, this time we
search for a static function of the form Type.Parse(string) and if
found invoked using the value from configuration
2015-10-30 15:04:39 -04:00
snugs fbfb0515bb Update Config.Set to respect environments via dot pathing
For example, Config.Set("backtesting.live-mode", "false") will set the live-mode value on the backtesting environment
2015-06-23 12:14:22 -04:00
snugs 51aba52b6c Use JObject to store config in memory
Updated standard configuration to show usage of environments and preload some for tradier/interactive live trading
2015-06-17 22:34:06 -04:00
snugs 05d42175a4 Add environments to configuation, to make it easier to switch between live/backtesting modes 2015-06-17 22:34:00 -04:00