Skip to main content

Stock to Income (S2I)

s2i

Chart: Stock to Income (S2I)

Parameters

NameTypeDescriptionRequired
start_datestringStart date in YYYY-MM-DD formatNo
end_datestringEnd date in YYYY-MM-DD formatNo
latestboolIf true, returns the current valueNo

Output

IndexNameTypeDescription
0datestringDate in YYYY-MM-DD format
1s2i_lower_bandstringS2I Lower Band value
2s2i_projectionstringS2I Projection value
3s2i_upper_bandstringS2I Upper Band value
4s2i_valuestringS2I Value

Example Request

https://charts.bitbo.io/api/v1/s2i/?start_date=2025-05-06&end_date=2025-05-08

Example Request with Latest

https://charts.bitbo.io/api/v1/s2i/?latest=true

Example Output

{
"data": [
[
"2025-05-06",
"163940.51",
"327881.02",
"655762.04",
"95.99"
],
[
"2025-05-07",
"163769.38",
"327538.75",
"655077.50",
"95.96"
],
[
"2025-05-08",
"163558.07",
"327116.14",
"654232.28",
"95.92"
]
]
}