Code cleanup
This commit is contained in:
@@ -82,10 +82,12 @@ namespace MarketData.Generator.Momentum
|
|||||||
|
|
||||||
UseEBITDAScreen=true; // true is the default
|
UseEBITDAScreen=true; // true is the default
|
||||||
UseRevenuePerShareScreen=true; // true is the default
|
UseRevenuePerShareScreen=true; // true is the default
|
||||||
|
|
||||||
UseLowSlopeBetaCheck=true; // true is the default. this yields the most optimal performance in backtests
|
UseLowSlopeBetaCheck=true; // true is the default. this yields the most optimal performance in backtests
|
||||||
LowSlopeBetaDays=15; // 15 is the default. This yields the most optimal performance in backtests
|
LowSlopeBetaDays=15; // 15 is the default. This yields the most optimal performance in backtests
|
||||||
LowSlopeBetaThreshhold=1.00; // (1.00) is the default This yields the most optimal performance in backtests
|
LowSlopeBetaThreshhold=1.00; // (1.00) is the default This yields the most optimal performance in backtests
|
||||||
UseCalcBeta=true; // This is set to false by default
|
UseCalcBeta=true; // This is set to true by default
|
||||||
|
|
||||||
UseMACD=true; // true is the default
|
UseMACD=true; // true is the default
|
||||||
MACDSetup="(12,26,9)"; // (12,26,9)
|
MACDSetup="(12,26,9)"; // (12,26,9)
|
||||||
MACDSignalDays=12; // 12 is the default
|
MACDSignalDays=12; // 12 is the default
|
||||||
@@ -170,6 +172,7 @@ namespace MarketData.Generator.Momentum
|
|||||||
mgConfiguration.LowSlopeBetaDays=nvpDictionary["LowSlopeBetaDays"].Get<int>();
|
mgConfiguration.LowSlopeBetaDays=nvpDictionary["LowSlopeBetaDays"].Get<int>();
|
||||||
mgConfiguration.LowSlopeBetaThreshhold=nvpDictionary["LowSlopeBetaThreshhold"].Get<double>();
|
mgConfiguration.LowSlopeBetaThreshhold=nvpDictionary["LowSlopeBetaThreshhold"].Get<double>();
|
||||||
if(nvpDictionary.ContainsKey("UseCalcBeta"))mgConfiguration.UseCalcBeta=nvpDictionary["UseCalcBeta"].Get<bool>();
|
if(nvpDictionary.ContainsKey("UseCalcBeta"))mgConfiguration.UseCalcBeta=nvpDictionary["UseCalcBeta"].Get<bool>();
|
||||||
|
else mgConfiguration.UseCalcBeta=true;
|
||||||
mgConfiguration.UseMACD=nvpDictionary["UseMACD"].Get<Boolean>();
|
mgConfiguration.UseMACD=nvpDictionary["UseMACD"].Get<Boolean>();
|
||||||
mgConfiguration.MACDSetup=nvpDictionary["MACDSetup"].Get<String>();
|
mgConfiguration.MACDSetup=nvpDictionary["MACDSetup"].Get<String>();
|
||||||
mgConfiguration.MACDSignalDays=nvpDictionary["MACDSignalDays"].Get<int>();
|
mgConfiguration.MACDSignalDays=nvpDictionary["MACDSignalDays"].Get<int>();
|
||||||
|
|||||||
Reference in New Issue
Block a user