Get Binance and Coinbase Cryptocurrency Assets Using Python

1 day ago
2

Learn how to retrieve available cryptocurrency assets from Binance and Coinbase centralized exchanges using Python. This script tracks its runtime, logs output to a timestamped file, and integrates with the Binance and Coinbase APIs to fetch and analyze cryptocurrency data. It securely retrieves all tradeable assets from Binance using environment variables for API key management and logs the results. Similarly, it connects to Coinbase through the ccxt library to fetch available currencies, ensuring seamless compatibility across exchanges. The script identifies shared assets between the two platforms, logs the findings, and calculates the execution time to provide performance insights.

https://github.com/PythonCryptoDev369/trade/blob/85bd46fae1ac92447844f1f8ba0e150cecad4e20/trade.py

BTC -> bc1qm9f4qt0fvmf08x9fq7kaw0jm9p470cvhvv9amj
ETH -> 0x168973848BC0f159f0cac1313564176002e4d93D
XRP -> rsCmjwyXKg4QjLFwKcNUnyc7nCr6m6ti22

Loading comments...