Socket
Socket
Sign inDemoInstall

pyndodax

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyndodax

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


Maintainers
1

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!

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc