Skip to main content

Overview

The Crypto Trading Agent is an AI Agent that monitors cryptocurrency prices and automatically executes trades between USDC and ETH when favorable conditions are met on Base Mainnet.

Getting Started

1

Installation

install dependencies
2

Connecting to tools and models

connect to required tools
3

Importing the required libraries

import required libraries
4

Setting up the Tools and Agent

setup tools and agent
5

Initializing Wallet

initialize wallet
6

Setting up CDP Toolkit

setup cdp toolkit
7

Running the Trading Loop

run trading loop
8

Final Code

final code