Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kraken API Client: Public Info #20

Open
echavemann opened this issue Oct 15, 2024 · 0 comments
Open

Kraken API Client: Public Info #20

echavemann opened this issue Oct 15, 2024 · 0 comments
Assignees

Comments

@echavemann
Copy link
Member

Create a pysrc/adapters subdir to implement a requests handler for the public API (no key required) for kraken.

The recommended directory structure is as follows:
adapters/kraken/containers.py: Python objects (with strict typing) to encapsulate our responses
adapters/kraken/client.py: Requests client itself. Inlcude reasonable method names. No need to figure out authentication just yet, though you will need to include both the URL for testnet and live, and switch using a testnet parameter passed into clients when instantiated.

Testing:
Integration tests are recommended for the testnet functions, as well as unit tests for complicated packing into response objects. Note that you should use the generic SnapshotMessages and trade messages if it is reasonable.

Docs:
https://docs.kraken.com/api/docs/category/rest-api/market-data

@aidanvillasenor aidanvillasenor self-assigned this Oct 16, 2024
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

No branches or pull requests

2 participants