payoff
Draw the payoff of one optimized strategy at expiration.
Parameters
- standard
symbol: str
Default: SPY
The underlying ticker symbol.
expiration: str
The expiration to trade.
sentiment: str
Default: neutral
The view the target price is derived from.
strategy: str
Default: buy_call_spread
The strategy to draw.
target_price: float
An explicit target price, overriding the sentiment.
rank: int
Default: 1
Which ranked strategy to draw, best first.
far_expiration: str
The long expiration of a calendar spread.
moneyness: float
Default: 5
Percent out-of-the-money for each strangle wing.
raw: bool
Default: False
theme: str
Default: dark