Stock to Flow
s2f
Chart: Stock to Flow
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
start_date | string | Start date in YYYY-MM-DD format | No |
end_date | string | End date in YYYY-MM-DD format | No |
latest | bool | If true, returns the current value | No |
Output
| Index | Name | Type | Description |
|---|---|---|---|
| 0 | date | string | Date in YYYY-MM-DD format |
| 1 | s2f_10d_ma | string | 10 day moving average of S2F projected price |
| 2 | s2f_463d_ma | string | 463 day moving average of S2F projected price |
Example Request
https://charts.bitbo.io/api/v1/s2f/?start_date=2025-05-05&end_date=2025-05-07
Example Request with Latest
https://charts.bitbo.io/api/v1/s2f/?latest=true
Example Output
{
"data": [
[
"2025-05-05",
"363893.82",
"221668.19"
],
[
"2025-05-06",
"360245.62",
"223194.54"
],
[
"2025-05-07",
"348697.96",
"224378.78"
]
]
}