Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication helpers for signing Robinhood API requests.

This module loads credentials from environment variables and builds the required headers (x-api-key, x-timestamp, x-signature) for each request. It uses Ed25519 to sign a message composed of api key, timestamp, path, method, and request body.

Structsยง

Robinhood
Robinhood API credentials and signing keys.