diff --git a/MarketData/MarketData/Models/CMT20200817.TXT b/MarketData/MarketData/Models/CMT20200817.TXT index 897e2d7..e8373b9 100755 --- a/MarketData/MarketData/Models/CMT20200817.TXT +++ b/MarketData/MarketData/Models/CMT20200817.TXT @@ -1,11 +1,11 @@ CMTSESSIONv1.00 -LastUpdated=4/16/2025 8:13:22 PM -TradeDate=4/16/2025 +LastUpdated=4/17/2025 8:32:05 PM +TradeDate=4/17/2025 StartDate=1/1/0001 -AnalysisDate=4/16/2025 +AnalysisDate=4/17/2025 CashBalance=9375.6 NonTradeableCash=6456.42 -SuspendTrading=False|UsePriceSlopeIndicator=True|UsePriceSlopeIndicatorDays=252|AnalysisDate=4/16/2025|BetaMonths=6|TradeDate=4/16/2025|MarketCapLowerLimit=500000000|SidewaysDetection=False|SidewaysAfterDays=30|PriceTrendDays=20|CheckOutliersInReturnStream=True|DailyReturnLimit=0.25|MaxDailyPositions=3|MaxOpenPositions=3|NoTradeSymbols=CODYY,MARUY,CSTM,CS,NATI,QADA,CRTO,GTBIF,CLCT,PRSC,CMD,STAY,GBTC,YOKU,PNY,RFMD,ASAZY,USMO,VNR,STB,XIV,SYNT,DFP|OnlyTradeSymbols=|MinRSI=70|InitialCash=10000|TotalRiskPercentDecimal=0.05|PositionRiskPercentDecimal=0.12|EquityOnly=False|MinPercentReturnProximityTo52WeekHigh=30|MinPercentReturnOver52WeekLow=80|ProfitMarginCheck=True|EPSCheck=True|MinDaysBetweenReholding=30|LiquidityCheck=True|MinVolume=1000|DMA200Horizon=15|MinDaysBetweenStopAdjustments=30|MinDaysBetweenInitialStopAdjustment=5|MaxPricingExceptions=3|MACDSetup=(12,26,9)|MACDSignalDays=5|MACDRejectStrongSells=True|MACDRejectWeakSells=True|UseMarketIndicator=True|Benchmark=SPY|BenchmarkMovingAverageDays=200|BenchmarkMovingAverageHorizon=5|UseMarketIndicatorVolatility=True|UseMarketIndicatorVolatilityHorizon=60|UseMarketIndicatorVolatilityBenchmark=^VIX|UseStopLimitScaling=True|StopLimitScalingType=AverageTrueRange|StopLimitScalingVolatilityDays=30|SellOnDMABreak=True|DMABreakValues=200|DMABreakForceBreak=False|EntryType=OverExtended,MVP,PriceTrend,VolumeTrend|EntryHorizon=30|CandidateExpiryDays=180|VolumeTrendDays=10|ChannelBreakoutHorizon=40|UseOverExtendedIndicatorDays=45|UseOverExtendedIndicatorViolationThreshhold=1|UseOverExtendedIndicatorMarginPercent=1|MaxBeta=10|UseMaxBeta=False|UseProfitMaximization=True|UseProfitMaximizationExpression=R_THRESSHOLD=4;MAX_ATR=3;MULTIPLIER=MAX_ATR;IF(RMultiple>=R_THRESSHOLD){MULTIPLIER=1.2;}|UseTradeOnlySectors=False|UseTradeOnlySectorsSectors=Healthcare,Technology,Basic Materials,Consumer Defensive,Industrials|EvaluateStopOnUpTrend=False +SuspendTrading=False|UsePriceSlopeIndicator=True|UsePriceSlopeIndicatorDays=252|AnalysisDate=4/17/2025|BetaMonths=6|TradeDate=4/17/2025|MarketCapLowerLimit=500000000|SidewaysDetection=False|SidewaysAfterDays=30|PriceTrendDays=20|CheckOutliersInReturnStream=True|DailyReturnLimit=0.25|MaxDailyPositions=3|MaxOpenPositions=3|NoTradeSymbols=CODYY,MARUY,CSTM,CS,NATI,QADA,CRTO,GTBIF,CLCT,PRSC,CMD,STAY,GBTC,YOKU,PNY,RFMD,ASAZY,USMO,VNR,STB,XIV,SYNT,DFP|OnlyTradeSymbols=|MinRSI=70|InitialCash=10000|TotalRiskPercentDecimal=0.05|PositionRiskPercentDecimal=0.12|EquityOnly=False|MinPercentReturnProximityTo52WeekHigh=30|MinPercentReturnOver52WeekLow=80|ProfitMarginCheck=True|EPSCheck=True|MinDaysBetweenReholding=30|LiquidityCheck=True|MinVolume=1000|DMA200Horizon=15|MinDaysBetweenStopAdjustments=30|MinDaysBetweenInitialStopAdjustment=5|MaxPricingExceptions=3|MACDSetup=(12,26,9)|MACDSignalDays=5|MACDRejectStrongSells=True|MACDRejectWeakSells=True|UseMarketIndicator=True|Benchmark=SPY|BenchmarkMovingAverageDays=200|BenchmarkMovingAverageHorizon=5|UseMarketIndicatorVolatility=True|UseMarketIndicatorVolatilityHorizon=60|UseMarketIndicatorVolatilityBenchmark=^VIX|UseStopLimitScaling=True|StopLimitScalingType=AverageTrueRange|StopLimitScalingVolatilityDays=30|SellOnDMABreak=True|DMABreakValues=200|DMABreakForceBreak=False|EntryType=OverExtended,MVP,PriceTrend,VolumeTrend|EntryHorizon=30|CandidateExpiryDays=180|VolumeTrendDays=10|ChannelBreakoutHorizon=40|UseOverExtendedIndicatorDays=45|UseOverExtendedIndicatorViolationThreshhold=1|UseOverExtendedIndicatorMarginPercent=1|MaxBeta=10|UseMaxBeta=False|UseProfitMaximization=True|UseProfitMaximizationExpression=R_THRESSHOLD=4;MAX_ATR=3;MULTIPLIER=MAX_ATR;IF(RMultiple>=R_THRESSHOLD){MULTIPLIER=1.2;}|UseTradeOnlySectors=False|UseTradeOnlySectorsSectors=Healthcare,Technology,Basic Materials,Consumer Defensive,Industrials|EvaluateStopOnUpTrend=False PricingExceptions=0 TotalActivePositions=0 TotalPositions=124 @@ -133,7 +133,7 @@ Symbol=AZZ|PurchaseDate=2/7/2025 12:00:00 AM|SellDate=3/4/2025 12:00:00 AM|S Symbol=AWI|PurchaseDate=2/14/2025 12:00:00 AM|SellDate=4/3/2025 12:00:00 AM|Shares=7|PurchasePrice=153.74|CurrentPrice=133.24|Exposure=1076.18|MarketValue=932.6800000000001|GainLoss=-143.5|GainLossPcnt=-0.13334200598412904|PositionRiskDecimal=0.12|R=18.4644|C=145.850071400525|P=7.89898785774382|InitialStopLimit=135.29|TrailingStopLimit=135.29|TotalRiskExposure=129.2508|RMultiple=-1.11R|Volatility=6.83095169067383|Volume=0|LastStopAdjustment=1/1/0001 12:00:00 AM|Comment=Manual close. Symbol=IDCC|PurchaseDate=2/7/2025 12:00:00 AM|SellDate=4/4/2025 12:00:00 AM|Shares=5|PurchasePrice=204.9|CurrentPrice=189.59|Exposure=1024.5|MarketValue=947.95|GainLoss=-76.54999999999995|GainLossPcnt=-0.0747193753050268|PositionRiskDecimal=0.12|R=24.5268|C=132.993071400525|P=5.422357233741254|InitialStopLimit=180.31|TrailingStopLimit=195.563070678711|TotalRiskExposure=122.63400000000001|RMultiple=-0.62R|Volatility=3.26635074615479|Volume=0|LastStopAdjustment=3/17/2025 12:00:00 AM|Comment=Manual close. Symbol=EXEL|PurchaseDate=3/4/2025 12:00:00 AM|SellDate=4/4/2025 12:00:00 AM|Shares=84|PurchasePrice=38.14|CurrentPrice=34.65|Exposure=3203.76|MarketValue=2910.6|GainLoss=-293.1600000000003|GainLossPcnt=-0.09150498164656537|PositionRiskDecimal=0.12|R=4.5948|C=389.4065|P=84.74939061547836|InitialStopLimit=33.56|TrailingStopLimit=34.6096426153183|TotalRiskExposure=385.96320000000003|RMultiple=-0.76R|Volatility=0.690388977527618|Volume=0|LastStopAdjustment=3/10/2025 12:00:00 AM|Comment=Manual close. -TotalCandidates=39 +TotalCandidates=38 Symbol=PBI|AnalysisDate=2/18/2025 12:00:00 AM|EPSSlope=0.529999971389771|ProfitMarginSlope=8.23810863494873|PriceSlope=0.00328707853229042|Volatility=0.761549234390259|Volume=0|Violation=False|Slope=0.00328707853229042|Score=1.99265117484619|AnnualizedReturn=2.28952366673464|SharpeRatio=0.235874736612309|RSquared=0.870334386055131|BetaMonths=6|Beta=1.93760551933142 Symbol=SPOT|AnalysisDate=2/19/2025 12:00:00 AM|EPSSlope=1.14999985694885|ProfitMarginSlope=4.86549997329712|PriceSlope=0.00311891130814697|Volatility=40.1615791320801|Volume=0|Violation=False|Slope=0.00311891130814697|Score=1.98684751540544|AnnualizedReturn=2.19452506025095|SharpeRatio=0.413240671697551|RSquared=0.905365607981818|BetaMonths=6|Beta=3.11968488809277 Symbol=HWM|AnalysisDate=2/18/2025 12:00:00 AM|EPSSlope=0.100000023841858|ProfitMarginSlope=0.146227836608887|PriceSlope=0.00289697492464429|Volatility=2.93906354904175|Volume=0|Violation=False|Slope=0.00289697492464429|Score=1.95446634946965|AnnualizedReturn=2.07515880028122|SharpeRatio=0.257254647152215|RSquared=0.941839414508801|BetaMonths=6|Beta=1.80514220525624 @@ -156,7 +156,6 @@ Symbol=DASH|AnalysisDate=2/19/2025 12:00:00 AM|EPSSlope=0.360000014305115|Prof Symbol=YMM|AnalysisDate=2/10/2025 12:00:00 AM|EPSSlope=0.0349999964237213|ProfitMarginSlope=0.229143142700195|PriceSlope=0.0018029882430729|Volatility=0.436734020709991|Volume=0|Violation=False|Slope=0.0018029882430729|Score=0.958505124860841|AnnualizedReturn=1.57515398736561|SharpeRatio=0.075391013791245|RSquared=0.608515188069902|BetaMonths=6|Beta=2.01977136967525 Symbol=FLEX|AnalysisDate=11/22/2024 12:00:00 AM|EPSSlope=0.00999999046325684|ProfitMarginSlope=4.37839651107788|PriceSlope=0.00138026654939466|Volatility=1.70791220664978|Volume=0|Violation=False|Slope=0.00138026654939466|Score=0.943320326401415|AnnualizedReturn=1.41598750410425|SharpeRatio=-0.100475860902919|RSquared=0.666192550193553|BetaMonths=6|Beta=2.27651080171185 Symbol=AYI|AnalysisDate=11/5/2024 12:00:00 AM|EPSSlope=0.574999809265137|ProfitMarginSlope=0.438583374023438|PriceSlope=0.00146922865286444|Volatility=4.79285192489624|Volume=0|Violation=False|Slope=0.00146922865286444|Score=0.864879215941605|AnnualizedReturn=1.44809025166895|SharpeRatio=0.132171751849736|RSquared=0.597255050190977|BetaMonths=6|Beta=1.36221064649616 -Symbol=ESAB|AnalysisDate=10/18/2024 12:00:00 AM|EPSSlope=0.134999990463257|ProfitMarginSlope=0.63981819152832|PriceSlope=0.00129712908246951|Volatility=3.85387873649597|Volume=0|Violation=False|Slope=0.00129712908246951|Score=0.722496172362344|AnnualizedReturn=1.38663025768378|SharpeRatio=-0.101850637993474|RSquared=0.521044574325961|BetaMonths=6|Beta=0.286712673426813 Symbol=AA|AnalysisDate=11/6/2024 12:00:00 AM|EPSSlope=0.659999966621399|ProfitMarginSlope=3.1422266960144|PriceSlope=0.00148765049151822|Volatility=1.29168581962585|Volume=0|Violation=False|Slope=0.00148765049151822|Score=0.64048408090798|AnnualizedReturn=1.45482835393824|SharpeRatio=0.0432325466564112|RSquared=0.440247180482964|BetaMonths=6|Beta=3.06107144503885 Symbol=GDYN|AnalysisDate=1/2/2025 12:00:00 AM|EPSSlope=0.0249999985098839|ProfitMarginSlope=1.38591957092285|PriceSlope=0.00182115536676012|Volatility=1.21755516529083|Volume=0|Violation=False|Slope=0.00182115536676012|Score=0.634186508550066|AnnualizedReturn=1.58238175588329|SharpeRatio=0.0582727535453944|RSquared=0.400779714624593|BetaMonths=6|Beta=0.688236357556022 Symbol=FINMY|AnalysisDate=2/18/2025 12:00:00 AM|EPSSlope=0.00499999523162842|ProfitMarginSlope=2.26086616516113|PriceSlope=0.000927945831124419|Volatility=0.804262280464172|Volume=0|Violation=False|Slope=0.000927945831124419|Score=0.603127428955689|AnnualizedReturn=1.26344529365249|SharpeRatio=0.116679338102526|RSquared=0.477367268678576|BetaMonths=6|Beta=1.26022875036336 diff --git a/MarketData/MarketData/Models/MGSH20250331.TXT b/MarketData/MarketData/Models/MGSH20250331.TXT index 07acf96..1b290c3 100755 --- a/MarketData/MarketData/Models/MGSH20250331.TXT +++ b/MarketData/MarketData/Models/MGSH20250331.TXT @@ -1,17 +1,17 @@ MGSHSESSIONv2.00 -LastUpdated=4/16/2025 8:15:21 PM -TradeDate=4/17/2025 +LastUpdated=4/17/2025 8:26:13 PM +TradeDate=4/21/2025 StartDate=3/31/2025 -AnalysisDate=4/16/2025 +AnalysisDate=4/17/2025 Cycle=0 CashBalance=6787.66 NonTradeableCash=0 HedgeCashBalance=3000 Verbose=True|KeepSlotPositions=True|BenchmarkMode=False|BenchmarkModeSymbol=SPY|HoldingPeriod=3|MaxPositions=3|NoTradeSymbols=GBTC,YOKU,PNY,RFMD,ASAZY|NoTradeFinancialSymbols=U.S. Private Equity,U.S. Financials,U.S. Financial Services,U.S. Banking and Investment Services,Trading-Miscellaneous,Trading--Miscellaneous,Trading--Leveraged Equity,Trading--Leveraged Debt,Trading--Leveraged Commodities,Trading--Inverse Equity,Trading--Inverse Commodities,Tactical Allocation,Specialty Finance,Japan Financials,Savings & Cooperative Banks,Option Writing,Insurance Brokers,Insurance - Specialty,Insurance - Reinsurance,Insurance - Property & Casualty,Insurance - Life,Insurance - Diversified,Global Private Equity,Global Financials,Financial Services,Financial Exchanges,Financial,China Financials,Banks - Regional - US,Banks - Regional - Latin America,Banks - Global,Asset Management,Credit Services|Benchmark=SPY|MarketCapLowerLimit=1000000000|UsePEScreen=False|UseEBITDAScreen=True|UseRevenuePerShareScreen=True|UseLowSlopeBetaCheck=True|LowSlopeBetaDays=15|LowSlopeBetaThreshhold=1|UseMACD=True|MACDSetup=(12,26,9)|MACDSignalDays=12|MACDRejectStrongSellSignals=False|MACDRejectWeakSellSignals=True|UseStochastics=True|StochasticsSignalDays=3|StochasticsRejectStrongSells=True|StochasticsRejectWeakSells=True|UseFallbackCandidate=True|FallbackCandidate=SHV|FallbackCandidateBestOf=SHV,NEAR,BIL,GSY,AGG,ACWX,GSY,SCHF,IXUS,DBEF,IEFA,TLT|UseMaxPEScreen=True|MaxPE=40|StrictMaxPE=False|QualityIndicatorType=IDINDICATOR|IncludeTradeMasterForSymbolsHeld=True|UseStopLimits=True|StopLimitRiskPercentDecimal=0.2|StopLimitScalingVolatilityDays=30|MinDaysBetweenInitialStopAdjustment=30|MinDaysBetweenStopAdjustments=30|StopLimitPriceTrendDays=20|StopLimitATRMultiplier=3|UseHedging=True|HedgeBenchmarkSymbol=SPY|HedgeShortSymbol=SH|HedgeRiskPercentDecimal=0.12|HedgeMinDaysBetweenStopAdjustments=1|HedgeInitialCash=3000|HedgeCloseAboveSMANDays=10|HedgeBandBreakCheckDays=3|HedgeATRMultiplier=1|MaxPricingExceptions=3|UseBetaGenerator=True|UseBetaGeneratorMonths=24 TotalActivePositions=3 -Slot=0|Symbol=MO|PurchaseDate=3/31/2025 12:00:00 AM|SellDate=1/1/0001 12:00:00 AM|Shares=18|PurchasePrice=59.91|CurrentPrice=57.27|Volume=17335180|Return1D=0|CumReturn252=0|IDIndicator=-15.9362549800797|Score=1.14749269300042|Velocity=0.967136150234742|PE=9|Beta=0.572465642401382|InitialStopLimit=47.93|TrailingStopLimit=47.93|LastStopAdjustment=1/1/0001 12:00:00 AM|PositionRiskPercentDecimal=0.2|R=12.004|Comment=Price changed on 4/1/2025 from $60.02 to $59.91 -Slot=0|Symbol=EXC|PurchaseDate=3/31/2025 12:00:00 AM|SellDate=1/1/0001 12:00:00 AM|Shares=24|PurchasePrice=45.76|CurrentPrice=46.51|Volume=14993121|Return1D=0|CumReturn252=0|IDIndicator=-8.76494023904382|Score=0.405636492837393|Velocity=1|PE=18.02|Beta=0.248374476251328|InitialStopLimit=36.61|TrailingStopLimit=36.61|LastStopAdjustment=1/1/0001 12:00:00 AM|PositionRiskPercentDecimal=0.2|R=9.216|Comment=Price changed on 4/1/2025 from $46.08 to $45.76 -Slot=0|Symbol=SXT|PurchaseDate=3/31/2025 12:00:00 AM|SellDate=1/1/0001 12:00:00 AM|Shares=14|PurchasePrice=73.98|CurrentPrice=74.13|Volume=362866|Return1D=0|CumReturn252=0|IDIndicator=-7.17131474103586|Score=0.447832358242973|Velocity=0.447678018575852|PE=24.93|Beta=0.640557790575348|InitialStopLimit=59.18|TrailingStopLimit=59.18|LastStopAdjustment=1/1/0001 12:00:00 AM|PositionRiskPercentDecimal=0.2|R=14.886|Comment=Price changed on 4/1/2025 from $74.43 to $73.98 +Slot=0|Symbol=MO|PurchaseDate=3/31/2025 12:00:00 AM|SellDate=1/1/0001 12:00:00 AM|Shares=18|PurchasePrice=59.91|CurrentPrice=58.16|Volume=17335180|Return1D=0|CumReturn252=0|IDIndicator=-15.9362549800797|Score=1.14749269300042|Velocity=0.967136150234742|PE=9|Beta=0.572465642401382|InitialStopLimit=47.93|TrailingStopLimit=47.93|LastStopAdjustment=1/1/0001 12:00:00 AM|PositionRiskPercentDecimal=0.2|R=12.004|Comment=Price changed on 4/1/2025 from $60.02 to $59.91 +Slot=0|Symbol=EXC|PurchaseDate=3/31/2025 12:00:00 AM|SellDate=1/1/0001 12:00:00 AM|Shares=24|PurchasePrice=45.76|CurrentPrice=47.26|Volume=14993121|Return1D=0|CumReturn252=0|IDIndicator=-8.76494023904382|Score=0.405636492837393|Velocity=1|PE=18.02|Beta=0.248374476251328|InitialStopLimit=36.61|TrailingStopLimit=36.61|LastStopAdjustment=1/1/0001 12:00:00 AM|PositionRiskPercentDecimal=0.2|R=9.216|Comment=Price changed on 4/1/2025 from $46.08 to $45.76 +Slot=0|Symbol=SXT|PurchaseDate=3/31/2025 12:00:00 AM|SellDate=1/1/0001 12:00:00 AM|Shares=14|PurchasePrice=73.98|CurrentPrice=74.56|Volume=362866|Return1D=0|CumReturn252=0|IDIndicator=-7.17131474103586|Score=0.447832358242973|Velocity=0.447678018575852|PE=24.93|Beta=0.640557790575348|InitialStopLimit=59.18|TrailingStopLimit=59.18|LastStopAdjustment=1/1/0001 12:00:00 AM|PositionRiskPercentDecimal=0.2|R=14.886|Comment=Price changed on 4/1/2025 from $74.43 to $73.98 TotalPositions=0 TotalStopLimits=0 TotalHedgePositions=0 diff --git a/MarketData/MarketData/Services/MainService.cs b/MarketData/MarketData/Services/MainService.cs index 228c591..49e1d85 100755 --- a/MarketData/MarketData/Services/MainService.cs +++ b/MarketData/MarketData/Services/MainService.cs @@ -89,7 +89,7 @@ namespace MarketData.Services string arg = args[0].ToUpper(); -// log files are now of the form market_data+task.log. Also log files will expire daily +// log files are now of the form market_data+task.log. Also log files will expire when > 1 days old if(!CreateLogging(arg)) { Console.WriteLine("CreateLogging returned false.");