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.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for LNMarkets-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97814dbfd630f09332f2cbc167ceba1d370944f2c2c2e92b0847de53fba26f4b |
|
MD5 | 9d4c18244b11bd3ae7696c0672efa756 |
|
BLAKE2b-256 | b6563fbc3ce67c2565d36e3ecc9cbde78e7334b22f9cbd64a3a946f23abbe2ce |