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.0.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.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtrader_v3_sdk-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f681efb309b8f095b8db2e6e0c5018359a171dea58393c49fa304294176d89e7
MD5 091514c5f947555f2af61714ed43db4b
BLAKE2b-256 7db841b3f9590d9b703c2e9da245358de67783900126d9c8d6d043718dd67219

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtrader_v3_sdk-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91132a78dd1a56ab784aabe6572d88142bbe3cb0ac62078b0920ed9fdc7ab5f6
MD5 3fee2e339e8580cc137e2f4e553042cc
BLAKE2b-256 7eaa09564d10770533b63630ffad2a7cb82de2a81bd4bc6aabc03b4d30ce6a33

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