Trade with your own bot
Your program trades on your team's account over HTTP and a live WebSocket feed: the same position, limits and open orders as the trading screen. Any language works; for Python there is a ready client.
Quick start
- Server:
- Your API key: on the trading screen, Copy key in the Trade with your own bot card. Send it as the
header
X-API-Key. Keep it to your team: it trades your account. - Python:
pip install httpx websockets, then put the client file next to your bot: Download the Python client (muniquant_client.py) Any other language: plain HTTP with the headerX-API-Key; every call is listed below. - Try it:
This round is a daily demo: only market orders work here. A limit order (a price,
like c.buy(1, m["bid"]) in the example) is refused; use c.buy(1).
Loading the API guide…