Any experience with Investment APIs using Elixir?

I’m currently writing an automated trading tool against alpaca.markets. Unless you’re doing crypto, you probably won’t need the bells and whistles of GenStage. I’m wrapping an API endpoint in an HTTPoison client and a WebSocket client in WebSockex and feeding through to GenServer procs. Biggest hurdle ATM the moment is designing a resilient system when the system of record is external, i.e. the website. I.e., re-syncing on failure. Happy to share any hard lessons I’ve learned or gotchas in more detail.

1 Like