(candle-data equity & {:keys [period] :or {period "60"}})
Fetches the OHLC data for the given equity. Optional period parameter determines the candle period in minutes. 250 candles returned for 1 hour.
Fetches the OHLC data for the given equity. Optional period parameter determines the candle period in minutes. 250 candles returned for 1 hour.
(encrypt text)
Encryption function for login flow, uses AES encryption as required by ALGOLAB.
Encryption function for login flow, uses AES encryption as required by ALGOLAB.
(equity-info equity)
(generate-checker endpoint payload)
Generates the checker that is used to validate every request.
Generates the checker that is used to validate every request.
(login)
Initializes login flow by sending an SMS to the phone number of the account that is firing the request. Use the SMS received for getting the hash in login-sms-code function.
Initializes login flow by sending an SMS to the phone number of the account that is firing the request. Use the SMS received for getting the hash in login-sms-code function.
(login-sms-code sms-code)
Uses the SMS code received in the first part of the login flow to fetch the hash that is used to generate the checker.
Uses the SMS code received in the first part of the login flow to fetch the hash that is used to generate the checker.
(session-refresh)
Refreshes the existing session.
Refreshes the existing session.
(set-hash cur-hash)
Sets the checker hash externally to use an already existing session.
Sets the checker hash externally to use an already existing session.
(set-token cur-token)
Sets the token externally to use an already existing session.
Sets the token externally to use an already existing session.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close