Skip to main content

DTrader V3 client SDK for Python.

Project description

dtrader-v3-sdk

Python package skeleton for the DTrader V3 SDK. Public request/response shapes are exported from dtrader_v3_sdk.types.

from dtrader_v3_sdk import DTraderClient

client = DTraderClient("http://localhost:8080", auth="token")
account = client.account()
quote = client.quote("600519")
ranking = client.ranking_stocks({"sort": "amount", "page": 1})

for event in client.stream_quote("600519"):
    print(event)
    break

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtrader_v3_sdk-0.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtrader_v3_sdk-0.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file dtrader_v3_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: dtrader_v3_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dtrader_v3_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d7c540ed79901b7f9a204aa0bc75c52d6c037c13decfc8e22d2939efcb69e949
MD5 0fd6b2e79c01d948ff4b5a3dc93861d8
BLAKE2b-256 0ca43d898fc745cfbdac2aa8dd16cca91d9a99aab219705cb70d8ba74c7e5a67

See more details on using hashes here.

File details

Details for the file dtrader_v3_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dtrader_v3_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dtrader_v3_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 751cd0d6caa93384c1fa59c90e06161187cb3d981aa13115156fffe5f8d518b0
MD5 0373c08223b6d16e99c9ff46ddd6b81a
BLAKE2b-256 5d25b998c85f68b3989baef60ce8d1f2aa6cbb772649cfbcfb0128f0bf64b937

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page