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 sideways income strategy selling an ATM call and an ATM put at the same strike K, collecting premium when the stock stays near K."
tags: [options, income, neutral, straddle]
---
# Short Straddle
**Section**: 2.25 | **Asset Class**: Options | **Type**: Income
## Overview
The short straddle is a sideways strategy consisting of a short position in an ATM call option and a short position in an ATM put option with the same strike K. This is a net credit trade. The trader's outlook is neutral. This is an income strategy that profits if the stock remains near K until expiry.
## Construction
- Sell 1 ATM call option at strike K
- Sell 1 ATM put option at strike K, same expiry
Net credit: C
## Payoff Profile
f_T = -(S_T - K)+ - (K - S_T)+ + C
- Upper breakeven: S*_up = K + C
- Lower breakeven: S*_down = K - C
- Max profit: P_max = C (if S_T = K at expiry; both options expire worthless)
- Max loss: L_max = unlimited (stock can move far in either direction)
## Key Conditions / Signals
- Neutral view; expects stock to remain very close to K through expiry
- High implied volatility environment makes the collected credit larger
- Ideal when volatility is expected to contract (sell elevated IV, profit from IV crush)
## Notes
Unlimited risk in both directions. The position is short vega and long theta. A sharp move in either direction can result in catastrophic losses. Active management (delta hedging or stop-losses) is essential.