Skip to content

client.get_stock_kline(...) return 401 error #1

@mayanloong

Description

@mayanloong

Get the following error:
Unauthorized for url: https://api.itick.org/stock/kline?region=SH&code=600000&period=1d&limit=466&end=2026-05-25 module=src.data.itick_download

In the website, it can get the stock kline successfully and the base url is https://api0.itick.org.

So I think change the base url in the python sdk to https://api0.itick.org will fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions