Friday, May 3, 2024

C# version 9 | What is new in C# version 9

Here is the link. 

C# version 9

Released November 2020

C# 9 was released with .NET 5. It's the default language version for any assembly that targets the .NET 5 release. It contains the following new and enhanced features:

C# 9 continues three of the themes from previous releases: removing ceremony, separating data from algorithms, and providing more patterns in more places.

Top level statements means your main program is simpler to read. There's less need for ceremony: a namespace, a Program class, and static void Main() are all unnecessary.

The introduction of records provides a concise syntax for reference types that follow value semantics for equality. You use these types to define data containers that typically define minimal behavior. Init-only setters provide the capability for nondestructive mutation (with expressions) in records. C# 9 also adds covariant return types so that derived records can override virtual methods and return a type derived from the base method's return type.

The pattern matching capabilities expanded in several ways. Numeric types now support range patterns. Patterns can be combined using and, or, and not patterns. Parentheses can be added to clarify more complex patterns:

C# 9 includes new pattern matching improvements:

  • Type patterns match an object matches a particular type
  • Parenthesized patterns enforce or emphasize the precedence of pattern combinations
  • Conjunctive and patterns require both patterns to match
  • Disjunctive or patterns require either pattern to match
  • Negated not patterns require that a pattern doesn't match
  • Relational patterns require the input be less than, greater than, less than or equal, or greater than or equal to a given constant


Ken Griffin | Citadel

 Ken Griffin

Ken Griffin founded and runs Citadel, a Miami-based hedge fund firm that manages $59 billion in assets. Griffin founded Citadel in 1990 but first began trading from his Harvard dorm in 1987. He put a satellite dish on the roof to get real-time stock quotes.

Facebook | Pastor Bill Mitchell

Here is the link. 

Here is the photo page link. 

With his daughter, here is the link. 

Here is the video link. 



Pastor Bill Mitchell Announces Change in Leadership

Here is the link. 

On Sunday, September 24, 2023, Pastor Bill Mitchell announced his succession and transition from the Senior Pastor role to Teaching Pastor at Boca Raton Community Church. While he is passing the baton of senior leadership, Mitchell will remain on staff and continue leading CityLead, a monthly event that challenges professional men and women to develop ethical business practices in the workplace, and WorldLead, a global organization that strategically mentors hundreds of leaders in various global non-profit agencies. 

About Pastor Bill Mitchell

Following a 25-year career in commercial and residential real estate, Mitchell served as the church pastor for 20 years. “I am not retiring,” he said, “but there is a time and a place to be the senior leader and that time has passed for me.” However, he reassured, “We are a generational church and God has a great plan for the next season of life.”

Pastor Matthew McDaniel was announced as his replacement, pending a vote in January, which is the procedure for the congregational church. McDaniel currently serves as a teaching pastor at the Boca Raton church. After 16 years serving in full-time ministry, McDaniel originally moved to Florida with his wife Jana, and their four children, to help with their family’s business. He has been involved at Boca Raton Community Church since 2017, according to the church website.


Boca Raton community church | Bill Mitchell

Here is the link. 

Bill Mitchell

Bill Mitchell

Coaching Pastor

Bill Mitchell serves as the Coaching Pastor at Boca Raton Community Church, following a previous career in commercial and residential real estate for 25 years. He facilitates monthly CityLead events focused on developing ethical business practices, challenging professional men and women across the world to transform their communities through the workplace. In addition, through WorldLead, he has helped to strategically mentor hundreds of leaders from over 35 countries in various global non-profit agencies. Bill, his wife Elizabeth and their family consider it a high honor to serve at Boca Raton Community Church.

 


Home depot door installation

 


Investing pro | Nasdaq 100 | May 3 2024

#Nasdaq100 #Nasdaq #NasdaqInvesting

Here is the link. 

https://ca.investing.com/indices/nq-100-components







SABR | Earnings date | May 3 2024

 


SABR | Trades | May 3, 2024


 

Thursday, May 2, 2024

C# 9.0 on the record | Mads Torgersen |

Here is the link. 


C# 9: Type Inference for the New Keyword | InfoQ | Jonathan Allen

败血症

 败血症— 也称为血液中毒或全身炎症反应综合征(SIRS) — 是一种危及生命的疾病,当身体对感染的反应伤害自身组织和器官时,这种疾病如果不及早发现并及时治疗会导致休克、多器官衰竭和死亡,尤其是如果没有及早发现并及时治疗。 在瘫痪患者中,这可能始于尿路(膀胱)感染、肺炎、伤口、压疮或其他感染。

Wednesday, May 1, 2024

The Ultimate Checklist Before Buying A Stock

 

The Ultimate Checklist Before Buying A Stock

交易系统核心要素五:止嬴


#止盈 #WhenToSell #Profit 

Here is the article. 

为了保护已经赚取的利润,避免贪婪和市场逆转导致盈利变为亏损。交易系统中必定设置止盈策略。
一、如何设置止盈
设置止盈是根据个人的投资目标、风险承受能力和市场条件来确定的,以下是一些常见的止盈设置方法:
1. 百分比止盈:
固定百分比: 设定在投资获利达到一定百分比时执行止盈。例如,当投资盈利达到10%、20%或其他预先设定的百分比时,触发止盈。
2. 技术指标和支撑阻力位:
支撑和阻力位: 使用技术分析中的支撑和阻力位,当价格接近或触及这些关键点位时考虑执行止盈。
3. 移动止盈:
追踪止盈: 随着价格有利变动,调整止盈点位以锁定更多的利润。可以使用移动平均线或其他指标作为基准,当价格趋势改变时调整止盈点位。
4. 时间因素:
时间止盈: 设置一个时间框架,当投资达到一定时间而未达到预期盈利时执行止盈。这有助于规避长时间持有而没有盈利的风险。
5. 波动性止盈:
基于波动性: 考虑市场的波动性,设置基于波动幅度的止盈点位。比如,根据平均真实波动幅度(ATR)或其他波动性指标设定止盈位置。
6. 部分利润:
部分止盈: 在达到一定利润时卖出部分头寸,留下另一部分继续持有。这种方法可以保留一部分头寸以便享受未来可能的盈利机会。
7. 结合止损策略:
止盈与止损相结合: 考虑设置合理的止损和止盈点位,确保风险和收益的平衡。这样的结合策略有助于综合管理投资组合的风险。
二、注意事项:
1、根据市场条件调整: 市场情况不断变化,需要根据实际情况灵活调整止盈策略。
2、纪律执行: 无论选择何种止盈策略,重要的是严格执行。不要被情绪或短期市场波动左右。
最佳的止盈策略因人而异,可能需要不断尝试和调整,结合多种因素以制定适合自己的策略。最终目标是保护利润、规避风险、并根据市场表现最大化投资回报。
三、举例分析
让我们通过一个简单的股票投资的例子来说明如何设置止盈。
情景: 你购买了某公司的股票,价格为每股100美元。你的投资目标是在价格上涨时获利,但也希望在市场变动时保护已赚取的利润。
止盈设置方法:
1. 固定百分比止盈:
设定一个固定的百分比作为盈利目标。
设定: 你决定在投资获利达到20%时执行止盈。
执行: 当股价达到120美元时,触发止盈,卖出股票。
2. 技术指标和支撑阻力位:
使用技术分析确定支撑和阻力位。
设定: 技术分析显示在130美元附近存在阻力位。
执行: 设定止盈点位在阻力位附近,例如在125美元。一旦股价接近或触及该水平,执行止盈。
3. 追踪止盈:
使用追踪止盈策略,随着价格上涨不断调整止盈点位。
设定: 初始设定在110美元,每上涨5美元调整一次。
执行: 当股价上涨到115美元时,止盈点位调整到120美元。随后,如果价格上涨到125美元,止盈点位再次调整到130美元。
4. 时间止盈:
设定一个时间框架,超过该时间而未达到预期盈利时执行止盈。
设定: 如果在3个月内股价未达到预期水平,执行止盈。
执行: 当时限到达时,如果股价没有达到目标,执行止盈。
注意事项:
在设定止盈时,考虑市场波动性和个人风险偏好。
避免过于激进或过于保守的策略,要根据自身情况调整。
结合止盈和止损策略,形成综合的风险管理计划。
这些例子展示了不同的止盈设置方法,但最终选择的策略应该符合个人的投资目标和风险承受能力。在实践中,可能需要根据市场情况不断调整策略

My notes:

  1. 设定一个时间框架,超过该时间而未达到预期盈利时执行止盈
  2. SABR - one year at most/ 3 months / Earnings / Monthly / Every 30%, 20%, 15%