Skip to content
Jason Shaw edited this page Oct 13, 2017 · 6 revisions

pyBinance wiki

API Usage

Internal Methods in Binance.py

Binance.py has several internal methods that are used for the following purposes. Some may be used directly as the other methods, others will result in unpredictable behavior.

  • sendHTTPRequest: Transmits HTTP requests and collects responses for other functions in the class.
  • requestSender: Packages requests for transmission.
  • getSignature: Creates hexdigest formatted HMAC SHA256 signature for payloads in signed methods.
  • getQueryString: Assembles query parameters into a query string.
  • getTimestamp: Validate timestamps and create as required for incoming requests.
  • validateParams: Primary method for validating inputs from queryParams against API definitions in pandas dataframe 'expected'.
Clone this wiki locally