LNMarkets API Wrapper
Project description
LNMarkets API Wrapper
This is a Python wrapper for LNMarkets API.
To install: pip install LNMarkets
Documentation: help(LNMarkets)
To access documentation on idividual module, eg User: help(LNMarkets.User)
Example Usage:
import LNMarkets
LNMToken = '<YOUR TOKEN>'
apiState = LNMarkets.State.getState()
openPositions = LNMarkets.Positions.getPositions(LNMToken)['open'] #Token must have position scope
userInfo = LNMarkets.User.userInformation(LNMToken) #Token must have user scope
buyInfo = LNMarkets.Positions.buy(LNMToken,leverage,quantity=quantity)
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
LNMarkets-0.1.0.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for LNMarkets-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9150b2cb7ca02bd80ceb2c5100a54f07b193259c0dde71db9c99b216949d37a5 |
|
MD5 | ff5515ec55d72bc8f4ac848b764c6af4 |
|
BLAKE2b-256 | f9aec1590145cb037937681d53c80fa039e87c944f98da8ebc8515f41fc186b0 |