Expand model tag support: add GLM-5.1, simplify Anthropic IDs, scan tags anywhere in message

- Flink update_bars debouncing
- update_bars subscription idempotency bugfix
- Price decimal correction bugfix of previous commit
- Add GLM-5.1 model tag alongside renamed GLM-5
- Use short Anthropic model IDs (sonnet/haiku/opus) instead of full version strings
- Allow @tags anywhere in message content, not just at start
- Return hasOtherContent flag instead of trimmed rest string
- Only trigger greeting stream when tag has no other content
- Update workspace knowledge base references to platform/workspace and platform/shapes
- Hierarchical knowledge base catalog
- 151 Trading Strategies knowledge base articles
- Shapes knowledge base article
- MutateShapes tool instead of workspace patch
This commit is contained in:
2026-04-28 15:05:15 -04:00
parent d41fcd0499
commit 47471b7700
184 changed files with 9044 additions and 170 deletions

View File

@@ -0,0 +1,33 @@
---
description: "A horizontal spread buying a longer-dated ATM call at TTM T' and selling a shorter-dated ATM call at the same strike K with TTM T < T', profiting from time decay when stock stays near K."
tags: [options, income, neutral, calendar-spread]
---
# Calendar Call Spread
**Section**: 2.18 | **Asset Class**: Options | **Type**: Income
## Overview
The calendar call spread (horizontal spread) consists of a long position in a near-ATM call option with TTM T' and a short position in a call option with the same strike K but shorter TTM T < T'. This is a net debit trade. The trader's outlook is neutral to bullish. The best case at expiration of the short call (t = T) is if the stock price is right at the strike (S_T = K), maximizing the remaining value V of the long call.
## Construction
- Buy 1 call option at strike K, TTM T' (longer expiry)
- Sell 1 call option at strike K, TTM T < T' (shorter expiry), same strike
Net debit: D
## Payoff Profile
At t = T (expiry of short call), let V = value of the long call (expiring at T') assuming S_T = K:
- P_max = V - D (if S_T = K at short expiry)
- L_max = D (net debit paid)
If S_stop-loss <= S_T <= K, the trader can roll by writing another call with strike K and TTM T1 < T'.
## Key Conditions / Signals
- Neutral to mildly bullish; expects stock to remain near K through T
- Low volatility environment after entry is ideal (long vega on net position)
- Best suited for income generation by repeatedly selling shorter-dated calls against the long call
## Notes
This strategy resembles the covered call strategy in structure. While maintaining the long call, the trader can generate income by periodically selling call options with shorter maturities. The stop-loss price S_stop-loss defines the level below which the entire position is unwound.