Files
miti99bot/aws/telegram-commands.json
T
tiennm99 32417e4196 refactor(stock): rename trading module to stock
Rename the `trading` module to `stock` across code, config, and docs for
naming consistency with the sibling coin/gold modules.

- Module: internal/modules/trading -> internal/modules/stock (package,
  factory, registry key in cmd/server)
- Commands: trade_* -> stock_* (telegram-commands.json)
- Env/SAM params: TRADING_INCOME_EVENTS_* -> STOCK_INCOME_EVENTS_*
- ModulesCSV updated in template.yaml, samconfig.toml, deploy.yml
- Add cmd/migrate-stock-key: idempotent, non-destructive DynamoDB
  partition copy (pk=trading -> pk=stock) with dry-run default

Production DynamoDB data already migrated (8 keys: 2 portfolios + 6
symbol-cache rows); old trading partition retained as rollback snapshot.
2026-06-12 14:52:12 +07:00

153 lines
3.6 KiB
JSON

{
"commands": [
{
"command": "help",
"description": "Show all available commands"
},
{
"command": "info",
"description": "Show chat, thread, and sender IDs"
},
{
"command": "ping",
"description": "Health check; replies pong"
},
{
"command": "wordle",
"description": "Classic wordle; guess the 5-letter word"
},
{
"command": "wordle_new",
"description": "Start a new wordle round"
},
{
"command": "wordle_giveup",
"description": "Reveal the current wordle answer"
},
{
"command": "wordle_stats",
"description": "Show your wordle stats"
},
{
"command": "loldle",
"description": "Classic loldle; guess the champion"
},
{
"command": "loldle_giveup",
"description": "Reveal the current loldle answer"
},
{
"command": "loldle_stats",
"description": "Show your loldle stats"
},
{
"command": "lolschedule",
"description": "LoL matches for a date"
},
{
"command": "lolschedule_today",
"description": "Today's LoL esports matches"
},
{
"command": "lolschedule_week",
"description": "LoL matches for the next 7 days"
},
{
"command": "lolschedule_subscribe",
"description": "Get the daily LoL schedule digest"
},
{
"command": "lolschedule_unsubscribe",
"description": "Stop the daily LoL schedule digest"
},
{
"command": "twentyq",
"description": "20 questions; ask yes/no questions"
},
{
"command": "twentyq_giveup",
"description": "Reveal the current twentyq answer"
},
{
"command": "twentyq_stats",
"description": "Show your twentyq stats"
},
{
"command": "stock_topup",
"description": "Top up VND to your stock account"
},
{
"command": "stock_buy",
"description": "Buy VN stock at market price"
},
{
"command": "stock_sell",
"description": "Sell VN stock back to VND"
},
{
"command": "stock_income_stock",
"description": "Record stock dividend bonus shares"
},
{
"command": "stock_income_vnd",
"description": "Record cash dividend per share"
},
{
"command": "stock_income_events",
"description": "Check recent income events"
},
{
"command": "stock_convert",
"description": "Currency exchange"
},
{
"command": "stock_stats",
"description": "Show portfolio summary with P&L"
},
{
"command": "gold_price",
"description": "Show current gold spot price (USD & VND)"
},
{
"command": "gold_topup",
"description": "Top up VND to your gold account"
},
{
"command": "gold_buy",
"description": "Buy gold at spot price (luong)"
},
{
"command": "gold_sell",
"description": "Sell gold back to VND (luong)"
},
{
"command": "gold_stats",
"description": "Show gold account summary with P&L"
},
{
"command": "coin_price",
"description": "Show current crypto price in USD"
},
{
"command": "coin_topup",
"description": "Top up USD to your coin account"
},
{
"command": "coin_buy",
"description": "Buy coin with USD amount"
},
{
"command": "coin_sell",
"description": "Sell coin quantity back to USD"
},
{
"command": "coin_stats",
"description": "Show coin account summary with P&L"
},
{
"command": "stats",
"description": "Stats. Try: /stats users, /stats user <name>, /stats cmd <name>"
}
]
}