ovrsa / bun

This app retrieves company info, stock prices, and financial data based on tickers.
0 stars 0 forks source link

PRI-180/feat(api): add stock_price #20

Closed ovrsa closed 1 month ago

ovrsa commented 1 month ago

stock_priceの実装

sample responce

{
  "ticker": "AAPL",
  "data": {
    "prices": [
      {
        "date": "2024-10-01",
        "close": 150.00,
        "high": 152.00,
        "low": 148.00,
        "moving_average": 149.50,
        "rsi": 70
      },
      ...
    ],
    "volume": [
      {
        "date": "2024-10-01",
        "volume": 2000000
      },
      ...
    ]
  }
}