Backpack Exchange Python API guide
Prerequisites
pip3 install cryptography requests pip3 install python-dotenvPUBLIC_KEY=zDIJj9qneWIY0IYZ5aXoHcNMCm+XDhVcTssiT0HyY0A=
SECRET_KEY=4odxgSUxFrC/zsKWZF4OQwYAgnNu9hnWH3NxWfLAPz4=.envimport requestsPublic endpoints
Example: Accessing Public Data
Private endpoints
Example: Retrieving a Deposit Address
Signing the Request
Creating Headers
Sending the Request
Using POST Requests
Example: Executing an Order
Sources
Last updated
