QuantJourney SDK
Project description
QuantJourney Python SDK
High-quality, lightweight client for the QuantJourney API.
- Package:
quantjourney - Import:
quantjourney.sdk - Admin (private):
quantjourney.sdkadminundersdkadmin/
Features
- Simple, requests-based HTTP client with automatic JSON handling
- Auth helpers for
/auth/loginand/auth/refresh - Lazy connector endpoints (e.g.,
qj.eod.get_historical_prices) - Domain proxy for
/d/<domain>.<method>calls - Config via environment (QJ_API, QJ_TENANT_ID, etc.)
Install
- PyPI:
pip install quantjourney - From GitHub:
pip install "git+https://github.com/QuantJourneyOrg/_repo_quantjourney_sdk.git#subdirectory=sdk"
Quick Start
from quantjourney.sdk import QuantJourney
qj = QuantJourney(api_url="http://localhost:8001", tenant_id="jakub")
# or: qj = QuantJourney.from_env()
# Login to obtain tokens
qj.auth.login(tenant_id="jakub", user_id="alice", password="secret")
# Use connectors
prices = qj.eod.get_historical_prices(symbols=["AAPL"], start_date="2025-01-01", end_date="2025-02-01", frequency="1d", exchanges=["US"]) # dict
print(len(prices.get("data", [])))
See USAGE.md for more examples.
Admin SDK (Private)
- Namespace:
quantjourney.sdkadmin - Install:
pip install --extra-index-url https://<private-index> quantjourney-sdkadmin - Or from GitHub:
pip install "git+https://github.com/QuantJourneyOrg/_repo_quantjourney_sdk.git#subdirectory=sdkadmin"
License
Proprietary. All rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quantjourney-1.0.1.tar.gz
(15.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantjourney-1.0.1.tar.gz.
File metadata
- Download URL: quantjourney-1.0.1.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
797700ff2cd271d878aea0087c55479d231edd5af4608b2f7aac2e60eebffa4c
|
|
| MD5 |
1edaed626cba2dd7f55dec71bef649ba
|
|
| BLAKE2b-256 |
278194f9e48f991900f93d6067ceb7db9ecc37ad109054608df77c83c4124d25
|
File details
Details for the file quantjourney-1.0.1-py3-none-any.whl.
File metadata
- Download URL: quantjourney-1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a77f9fc10243069b76bc90c5f2022f3055e21474849b5f98228d93416da739fa
|
|
| MD5 |
145b1d2d27b0ba7070f954c22648b16e
|
|
| BLAKE2b-256 |
bee472ef7e77176fa138c688fb39764344c7c47b373cc63d6b3850221ed9a806
|