Skip to main content

An implementation of Satang Pro signing request scheme

Project description


Build Status PyPI version

An implementation of Satang Pro request signing scheme.


pip install satang-pro-signer-x


import json
import satang_pro_signer # import signer

# prepare secret
secret = bytes.fromhex('8781e58f94f8b2a58b6aa30649fd6a46')

# create signer
signer = satang_pro_signer.Signer(secret)

# prepare payload to be sign
payload = json.loads('{"type":"limit","pair":"btc_thb", "side":"sell", "price":"100000", "amount":"100", "none":"1570763737"}')

# sign
signature = signer.sign(payload) # bytes

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

satang-pro-signer-x-0.0.1.dev2.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page