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,32 @@
---
description: "A bearish capital-gain strategy buying an ATM put and selling an ATM call at the same strike K = S0, replicating a short forward contract on the underlying."
tags: [options, speculation, bearish, synthetic]
---
# Short Synthetic Forward
**Section**: 2.11 | **Asset Class**: Options | **Type**: Speculation
## Overview
The short synthetic forward amounts to buying an ATM put option and selling an ATM call option with the same strike K = S0. This can be a net debit or net credit trade; typically |H| << S0. The trader's outlook is bearish: this strategy mimics a short stock or futures position and replicates a short forward contract with delivery price K and the same maturity as the options. This is a capital gain strategy.
## Construction
- Buy 1 ATM put option at strike K = S0
- Sell 1 ATM call option at strike K = S0, same expiry
Net debit or credit H (H = D for net debit trade, H = -C for net credit trade)
## Payoff Profile
f_T = (K - S_T)+ - (S_T - K)+ - H = K - S_T - H
- Breakeven: S* = K - H
- Max profit: P_max = K - H (if stock goes to zero)
- Max loss: L_max = unlimited (stock can rise without bound)
## Key Conditions / Signals
- Strongly bearish outlook seeking full participation in downside
- Useful when short-selling the stock directly is restricted or costly
- Typically near-zero net premium (H is small relative to S0)
## Notes
The payoff is linear in S_T identical to short stock (minus K - H). The upside is not limited; the position loses as the stock rises above K, just like a short stock position.