Skip to content

Conversation

@negishikouki
Copy link

replace chart/v1 to chart/v3

@hootnot
Copy link
Owner

hootnot commented Mar 31, 2025

Hi,

... for the time being, pls use:

import saxo_openapi.endpoints.chart as ch
setattr(ch.charts.GetChartData, 'ENDPOINT', "openapi/chart/v3/charts")   # < ------

params = {
     "AssetType": "FxSpot",
     "Horizon": 60,
     "Count": 24,
     "Uic": 23
}
r = ch.charts.GetChartData(params=params)
print(r)
openapi/chart/v3/charts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants