I built a bot to automate trading on dYdX and Wealthsimple. For dYdX, I used the official API to place orders, manage positions, and track market data in real time. Wealthsimple lacked a public API, so I reverse-engineered its requests using Burp Suite and Wireshark, mapping out authentication and payload structures to create an unofficial API. This setup enables seamless automated trading, leveraging dYdX’s official endpoints while adapting to Wealthsimple’s private infrastructure through continuous monitoring and adjustments.