Skip to main content

LATOKEN REST API and STOMP Websocket python implementation

Project description

This is an unofficial Python wrapper, use at your own risk.

If you find any bugs or want to contribute, feel free to submit your improvements.

If you came here looking for LATOKEN exchange, then go here.

Source code

https://github.com/purveyor97/python_latoken

REST API Documentation

https://api.latoken.com/doc/v2/

STOMP Websockets Documentation

https://api.latoken.com/doc/ws/

LATOKEN API Telegram

https://t.me/latoken_api

This library covers

  • Authentication of private requests for both REST API and STOMP Websockets

  • Asyncio websockets with the option to subscribe to multiple streams simultaneously

  • General market data such as historic and current prices, orderbooks, active currencies and pairs

  • User account balances access

  • Deposit address generation

  • Withdrawals

  • Transfers within the account

  • Transfers between accounts (to other users)

  • Crypto Spot Trading

This library doesn’t cover

  • Futures Trading

  • Stocks Trading

  • IEO Purchases

  • Responce exceptions are exchange generated and are not handled by the library

  • Logging is not implemented

Quick Start

Register an account on LATOKEN.

Generate an API key in your account with relevant permissions.

There are 4 levels of API key permissions at LATOKEN:

  • Read only (you can view market and account data)

  • Trade on Spot (in addition: place and cancel orders)

  • Trade and Transfer (in addition: transfer within your account)

  • Full access (in addition: transfer to other users, deposit and withdraw)

Install python_latoken library:

pip install python-latoken

Examples of code usage:

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

python_latoken-0.2.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_latoken-0.2.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file python_latoken-0.2.1.tar.gz.

File metadata

  • Download URL: python_latoken-0.2.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4

File hashes

Hashes for python_latoken-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3a0f9745fc6a76df040b45aa0864647298f6140fb6c7bde10e7aaa876734b23b
MD5 f5c0289bc982e1c2c44b18c74de2e29e
BLAKE2b-256 5a1b40c26bf75fc01825e319efeeb68d1430ef1c8a7e3ce87fa87884832aaccc

See more details on using hashes here.

File details

Details for the file python_latoken-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: python_latoken-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4

File hashes

Hashes for python_latoken-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2f6d3f6fec87fd2025b6932e6a69a5be9933bff391714f6aa2be33c81a4f2ba
MD5 39d51f1706ccf2eea9bb33bb30348b05
BLAKE2b-256 2fe8e277db14116cbfa5198bc173914517083c51a1d35b1713ae031eca8a7c93

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