# Building a Trading Bot

This guide provides a comprehensive walkthrough for building a trading bot that interacts via the SYMM protocol using Python. This guide will focus on using an affiliate's [MultiAccount](https://docs.symm.io/contract-documentation/symmio-perps-v0.8.4/helper-contracts/multiaccount) with [Instant Trading](https://docs.symm.io/exchange-builder-documentation/frontend-builder-technical-guidance/instant-trading) without relying on a frontend application.

The full trading bot and example codes can all be found in this [repository](https://github.com/academy17/symm_example_codes).

### Prerequisites

Before starting, ensure you have:

* Python 3.8+
* A wallet with private key (for signing transactions)
* A suitable RPC endpoint
* Environment variables set up in a .env file
