Skip to content

chart/v1 is Obsolete#32

Open
negishikouki wants to merge 1 commit into
hootnot:masterfrom
negishikouki:master
Open

chart/v1 is Obsolete#32
negishikouki wants to merge 1 commit into
hootnot:masterfrom
negishikouki:master

Conversation

@negishikouki

Copy link
Copy Markdown

replace chart/v1 to chart/v3

@hootnot

hootnot commented Mar 31, 2025

Copy link
Copy Markdown
Owner

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