# RiskBot: Discord Member Cheat Sheet

Calculate whole-share or long-option contract sizes from your chosen risk budget.
All amounts are assumed to be USD. This is an educational calculator, not trading advice.

**Privacy warning:** calculation results are public by default and display account information. Add `private:true` to keep your result visible only to you.

## Quick start

```text
/risk-setup account:25000 risk_pct:1
/risk entry:450 stop:447.50 private:true
/options-risk entry:2.50 stop:2.00 type:call private:true
```

Type each slash command and fill in Discord's option fields. The numbers above are fictional.

## Commands

| Command | Use |
|---|---|
| `/risk help:true` | Private stock-sizing syntax help. |
| `/options-risk help:true` | Private long-options syntax help. |
| `/risk-setup account:25000 risk_pct:1` | Privately save your account size and risk percentage. |
| `/risk entry:450 stop:447.50 private:true` | Size a long stock trade using saved defaults. |
| `/risk entry:450 stop:452.50 private:true` | Size a short stock trade; stop above entry means short. |
| `/risk entry:450 stop:447.50 target:455 private:true` | Add a target and reward-to-risk calculation. |
| `/risk entry:450 stop:447.50 account:10000 risk_pct:0.5 private:true` | Override defaults for this calculation only. |
| `/options-risk entry:2.50 stop:2.00 type:put target:3.50 private:true` | Size a bought put with a target premium. |
| `/options-risk entry:2.50 stop:0 private:true` | Size against losing the full premium. |

## Options and defaults

- `entry` and `stop` are required for calculations, but not for `help:true`.
- `account` uses your saved account; supply it if you have not run `/risk-setup`.
- `risk_pct` means percentage, not decimal fraction: `1` = 1%, `0.5` = 0.5%. It uses your saved value or defaults to 1%.
- `/risk-setup` replaces your saved defaults. Omitting `risk_pct` there resets it to 1%.
- Stock stops cannot equal entry. Targets must be above entry for a long or below entry for a short.
- Long-option stops must be below entry; zero is allowed. Targets must be above entry.
- For options, enter premiums per share: `2.50`, not the underlying price or total contract cost.
- Option `type` is an optional call/put label. `multiplier` defaults to 100; change it only after checking the contract terms.

## Reading the result

Risk budget = account size x risk percentage / 100.

- Stock shares = risk budget / absolute entry-stop distance, rounded down.
- Long-option contracts = risk budget / ((entry-stop) x multiplier), rounded down.
- Actual estimated stop loss may be below your budget because size is rounded down.
- Options results distinguish estimated stop loss from the total premium that could be lost.

For a $250 risk budget, a $2.50 option entry and $2.00 stop with multiplier 100 give **5 contracts**: $250 estimated stop loss, but **$1,250 total premium** at risk.

## Sample outputs

These are fictional, abridged plain-text versions of Discord embeds, with icons and footers omitted. Account figures are examples, not a real member's data. Both commands explicitly use **private:true**; without it, successful calculations are public.

### Stock sizing

After `/risk-setup account:25000 risk_pct:1`, run `/risk entry:450 stop:447.50 target:455 private:true`:

```text
Position Size: LONG
Account: $25,000.00
Risk budget: 1.0% = $250.00
Entry / Stop: $450.00 / $447.50
Risk per share: $2.50
Size: 100 shares
Position value: $45,000.00 (180% of account)
Targets:
1R  $452.50  +$250.00
2R  $455.00  +$500.00
3R  $457.50  +$750.00
Target  $455.00  2.00R  +$500.00
Warnings:
Position exceeds account size; margin may be required.
```

Risk-based size is not a buying-power check. The example requires more capital than the fictional account holds.

### Long-option sizing

Using the same saved defaults, run `/options-risk entry:2.50 stop:2.00 type:call private:true`:

```text
Position Size: LONG CALL
Account: $25,000.00
Risk budget: 1.0% = $250.00
Entry / Stop premium: $2.50 / $2.00 per share
Multiplier: 100
Risk per contract at stop: $50.00
Size: 5 contracts
Estimated loss at stop: $250.00
Premium paid / maximum premium loss: $1,250.00
Targets (premium per share):
1R  $3.00  +$250.00
2R  $3.50  +$500.00
3R  $4.00  +$750.00
Warnings:
Full premium loss exceeds the risk budget if the stop fails.
Stops may not fill at the stop price. Figures exclude fees and slippage.
Maximum premium loss assumes no exercise; exercise can create a stock position.
```

## Important limits

- Stops can slip or fail. Calculations exclude commissions and fees.
- Options support is for bought calls and puts, not short options or spreads. Exercise may create a stock position with additional requirements.
- The bot does not fetch prices, place orders, or assess ATR/price noise. Confirm inputs and broker buying-power requirements yourself.
- Help, setup, and input errors are private. Successful calculations require `private:true` to stay private.
- Saved defaults are stored by Discord user ID in the operator's database; they are not promised to be encrypted.
