fetch_bbands
[Personal research only] Fetch Bollinger Bands technical indicator time series with upper band, lower band, and middle line (SMA).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock ticker symbol (e.g., 'AAPL', 'MSFT', 'TSLA') for which to calculate Bollinger Bands | |
| nbdevdn | No | Number of standard deviations for lower band (typically 2) | |
| nbdevup | No | Number of standard deviations for upper band (typically 2) | |
| datatype | No | Response data type. | json |
| end_date | No | Optional end date filter in YYYY-MM-DD format (e.g., '2024-12-31'). | |
| interval | Yes | Time interval for data points. | |
| start_date | No | Optional start date filter in YYYY-MM-DD format (e.g., '2024-01-01'). | |
| series_type | No | Price data to use for calculation. | close |
| time_period | No | Number of periods for moving average calculation (typically 20) | |
| max_data_points | No | Maximum number of time series data points to return. |