explaingit

kirst-dk/stockpilot-ai

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 4/5Setup · hard

TLDR

An AI-driven portfolio manager for tokenized stocks on the Mantle blockchain that picks a strategy, executes trades on-chain, and records every action in a smart contract.

Mindmap

mindmap
  root((StockPilot AI))
    What It Does
      Manages tokenized stocks
      Runs on Mantle blockchain
    Strategies
      Balanced Growth
      Momentum
      Value Investing
    Tech Stack
      Python FastAPI
      Solidity
      Next.js
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically manage a tokenized stock portfolio using Balanced Growth, Momentum, or Value Investing strategies.

USE CASE 2

Trade tokenized equities like SPYx or TSLAx on-chain with a fully verifiable, smart-contract-recorded track record.

USE CASE 3

See how AI recommendations can validate and refine a rules-based trading strategy before execution.

What is it built with?

PythonFastAPISolidityNext.js

How does it compare?

kirst-dk/stockpilot-ai0xhassaan/nn-from-scratch3ks/embedoc
Stars00
LanguagePythonPythonPython
Last pushed2023-06-08
MaintenanceDormant
Setup difficultyhardmoderatehard
Complexity4/54/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires blockchain wallet setup and connection to the Mantle network, full README was truncated.

In plain English

StockPilot AI is a portfolio manager for tokenized stocks built on top of a blockchain network called Mantle. Tokenized equities are digital tokens on a blockchain that represent real-world stocks, for example, holding a token called SPYx is equivalent to holding exposure to the S&P 500 ETF. The project was built for a hackathon focused on AI and real-world asset tokenization. The way it works is that a user picks one of three investment strategies, Balanced Growth, Momentum, or Value Investing, and an AI agent takes over from there. The agent fetches live prices for supported tokenized stocks (SPYx, NVDAx, AAPLx, TSLAx, MSFTx, AMZNx), runs the chosen strategy to decide what to buy, sell, or rebalance, and then uses an AI model to validate and refine those recommendations before executing trades on-chain. Every action, buy, sell, rebalance, is recorded permanently in a smart contract on Mantle, so the agent's track record is fully verifiable. Trades are executed either via the xStocks atomic settlement system (which mints or redeems tokens at live market prices) or through the Fluxion decentralised exchange, which finds the best available price across different liquidity pools. The three strategies differ in risk tolerance: Balanced Growth is conservative with automatic stop-loss and take-profit levels, Momentum follows price trends, Value Investing buys on price dips and trims on extended rallies. The tech stack includes a Python backend with FastAPI, smart contracts written in Solidity, and a Next.js frontend dashboard showing portfolio state, market data, AI recommendations, and trade history. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
Explain how the three investment strategies in StockPilot AI differ in risk tolerance.
Prompt 2
Show me how trades are executed through xStocks atomic settlement or the Fluxion decentralised exchange.
Prompt 3
Walk me through the Python FastAPI backend and Next.js frontend architecture of this project.

Frequently asked questions

What is stockpilot-ai?

An AI-driven portfolio manager for tokenized stocks on the Mantle blockchain that picks a strategy, executes trades on-chain, and records every action in a smart contract.

What language is stockpilot-ai written in?

Mainly Python. The stack also includes Python, FastAPI, Solidity.

How hard is stockpilot-ai to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is stockpilot-ai for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.