Skip to main content

pyndodax

Build Status

An unofficial Python wrapper for indodax.com API with support for async i/o

Original API documentation

Public API

Indodax provides 4 public endpoint that can be accessed by the public. This library will provide those 4 endpoints in the pyndodax.public module, which consisted of:

  • Get current price of all markets (aio_get_all_tickers())
  • Get current price of a given market (aio_get_ticker(pair))
  • Get last few trade history of a given market (aio_get_trades(pair))
  • Get bids and asks of a given market (aio_get_depth(pair))

You can describe a trade pair with Pair, custom enum type that can be accessed at pyndodax.pair. If you want to pick a currency that is traded against IDR, just refer it with the currency symbol, all uppercase. For BTC traded currencies, add _BTC as a postfix. e.g.:

  • btc-idr is Pair.BTC
  • bat-idr is Pair.BAT
  • eth-btc is Pair.ETH_BTC
  • etc.

Private API

TBA

Want to add something?

You can clone this repo and setup a dev environment by running these commands

python setup.py install
pip install -e .[dev]

Code something and create a pull request!

Metadata

Release files for pyndodax 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyndodax 0.3
File Size Uploaded
pyndodax-0.3.tar.gz 6.2 kB Details

Release files / pyndodax-0.3.tar.gz

Download URL pyndodax-0.3.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
029372bb4a1d7e2652345b6b29b02c0c1c9de6fb54144177bbf379086378fa87
BLAKE2b-256 checksum
How to use checksums
12fab0d07e80bcaa64cbd8a5d2903d83e067ae39608532e0a659196cee067c5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1.3

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page