Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

python-latoken

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-latoken

LATOKEN REST API and STOMP Websocket python implementation

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

========================= Welcome to python_latoken

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 <https://latoken.com/invite?r=rbjbrtq7>_.

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 <https://latoken.com/invite?r=rbjbrtq7>_.

Generate an API key in your account <https://latoken.com/account/apikeys>_ 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:

.. code-block:: bash

pip install python-latoken

Examples of code usage:

  • REST API <https://github.com/purveyor97/python_latoken/blob/main/examples/rest_example.py>_
  • Websockets <https://github.com/purveyor97/python_latoken/blob/main/examples/websocket_example.py>_ (async code)

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