Skip to main content

Power Law

power-law

Chart: Long Term Power Law

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
1support_linestringValue of the power law support line
2linear_regressionstringValue of the linear regression fit
3resistance_linestringValue of the power law resistance line

Example Request

https://charts.bitbo.io/api/v1/power-law/?start_date=2025-05-04&end_date=2025-05-06

Example Request with Latest

https://charts.bitbo.io/api/v1/power-law/?latest=true

Example Output

{
"data": [
[
"2025-05-04",
"40195.68",
"113286.81",
"420099.24"
],
[
"2025-05-05",
"40235.06",
"113397.81",
"420453.38"
],
[
"2025-05-06",
"40274.48",
"113508.90",
"420807.76"
]
]
}