Skip to content

msolomos/coinbase-AI-Trader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Automated Trading Bot with LLM-Driven Decisions

Overview

This Python project implements an automated trading bot that interacts with a cryptocurrency exchange API to fetch market data, assess trading opportunities using a Language Model (LLM), and execute trades based on the LLM's recommendations. The bot is designed to handle real-time trading decisions for the BTC/USDC pair, and it can automatically place buy or sell orders based on the LLM's analysis.

Disclaimer: This trading bot does not work out of the box. It still needs fee tracking, stop loss, take profit and more.

Disclaimer: This code is still a work in progress. If you're interested in contributing or forking this repository, please feel free to do so! I’m excited to see this project grow and potentially become a standard in modern trading. We need more real AI-driven projects that are both FREE and capable of running locally. Let's make that a reality together!

Disclaimer: This project is purely for informational and educational purposes only. It is intended to demonstrate how such a system could be built, not for live trading. The use of this code in a live trading environment is done at your own risk, and the creators of this project are not responsible for any financial losses. BUT YES! it does work in practice

Features

  • Market Data Fetching: Retrieves real-time ticker data, including best bid and ask prices, and recent trades.
  • Balance Checking: Fetches and displays the current balances of BTC and USDC in the account.
  • LLM-Driven Trading Decisions: Constructs prompts using market data and account balances, and queries an LLM to decide whether to buy, sell, or hold.
  • Automated Order Placement: Places buy or sell orders on the exchange based on the LLM's recommendation.
  • Logging: Comprehensive logging to track bot actions, API responses, and errors.

Installation

Prerequisites

  • Python 3.x: Ensure you have Python 3.x installed on your system.
  • Pip: Python's package installer, used to install required dependencies.
  • OpenAI API Key: Required for interacting with the LLM (configured locally in this project).

If you like my work and would like to buy me a coffee or beer donations below have a blessed day!

** my wallet address **

coinbase wallet address

mrnobody314.cb.id

BTC: bc1q7rnlw5wuakqzrm0nr4mnw6xu6xdfaupysf98j9

eth: 0x3535E89F33DA8892857eCB925434444B24141F2a

solana: 6d7Npf19vUrDWaMHWeHVEiXBcJXLHqgrUavtwEw4m3qt

Doge: D5H4ADNWcn1HaPpR5sizZuBX72HpMjvLeC

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%