/stock

Stocks Ephemeral 30s cooldown

Trade real US stocks using economy coins. Buy fractional shares of real companies, track your portfolio value, and compete for profit. Stock prices are fetched live from the market, so your investments fluctuate with real market conditions.

Usage

/stock buy ticker:AAPL amount:1000
/stock sell ticker:AAPL shares:0.5
/stock portfolio
/stock quote ticker:MSFT

Subcommands

buy

Buy shares of a stock

ticker Required text

Stock ticker symbol (e.g., AAPL, MSFT, GOOGL)

amount Required number

Amount of coins to spend (10-10,000)

Range: 10 - 10000
sell

Sell shares of a stock

ticker Required text

Stock ticker symbol

shares Required decimal

Number of shares to sell

Min: 0.000001
portfolio

View your stock portfolio

quote

Get the current price of a stock

ticker Required text

Stock ticker symbol

Examples

Input
/stock buy ticker:AAPL amount:1000
Output
Bought AAPL Successfully purchased 5.234 shares of AAPL Shares: 5.234 | Price: $191.05 | Total: 🪙 1,000 Your Position: 5.234 shares @ $191.05 avg
Input
/stock sell ticker:AAPL shares:2.5
Output
Sold AAPL Successfully sold 2.5 shares of AAPL Proceeds: 🪙 485 | Profit: +🪙 12
Input
/stock portfolio
Output
Your Stock Portfolio AAPL: 2.734 shares @ $191.05 avg (🪙 522) MSFT: 1.25 shares @ $420.50 avg (🪙 525) Total Positions: 2 | Cost Basis: 🪙 1,047
Input
/stock quote ticker:NVDA
Output
NVDA Current Price: $875.50 Change: +$12.30 (+1.42%) Day Range: $860.00 - $880.00

Tips

  • Trade range: 10-10,000 coins per transaction
  • Real stock prices from Finnhub API
  • Fractional shares are supported (buy partial shares)
  • 30-second cooldown between trades
  • Coins must be in your wallet to trade
  • Portfolio shows cost basis - use /stock quote to check current value
  • Sell for profit when price rises above your average cost

Configuration Values

{
  "tradeMin": 10,
  "tradeMax": 10000,
  "cooldownSeconds": 30,
  "decimalPlacesShares": 6,
  "decimalPlacesPrice": 2
}

Related Commands