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 bullish capital-gain strategy buying an ATM call and selling an ATM put at the same strike K = S0, replicating a long forward contract on the underlying."
tags: [options, speculation, bullish, synthetic]
---
# Long Synthetic Forward
**Section**: 2.10 | **Asset Class**: Options | **Type**: Speculation
## Overview
The long synthetic forward amounts to buying an ATM call option and selling an ATM put 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 bullish: this strategy mimics a long stock or futures position and replicates a long forward contract with delivery price K and the same maturity as the options. This is a capital gain strategy.
## Construction
- Buy 1 ATM call option at strike K = S0
- Sell 1 ATM put 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 = (S_T - K)+ - (K - S_T)+ - H = S_T - K - H
- Breakeven: S* = K + H
- Max profit: P_max = unlimited (stock can rise without bound)
- Max loss: L_max = K + H (if stock goes to zero)
## Key Conditions / Signals
- Strongly bullish outlook seeking full participation in upside
- Useful when the cost of direct stock purchase is prohibitive
- Typically near-zero net premium (H is small relative to S0)
## Notes
The payoff is linear in S_T identical to holding the stock (minus K + H). The downside is not limited; the position loses as the stock falls below K, just like a long stock position.