Skip to content

ZJOJZ/merkle-aiagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

147 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PortfiX: Smart On-Chain Portfolio & Trading Assistant

Project Overview

ProfitX is an intelligent, AI-powered portfolio manager and trading assistant, seamlessly integrated with Merkle Trade, a decentralized perpetual DEX built on the Aptos blockchain. ProfitX automates portfolio analysis, strategy recommendations, and execution of high-leverage trades using USDC on the Merkle platform. With support for up to 150X leverage, users can maximize their yield potential while maintaining risk management practices, all in a seamless, secure environment.

Core Features

Portfolio Analysis

  • Total Value & 24H Change: Upon connecting their wallet, users get a quick overview of their portfolio's total value and the 24-hour change in percentage, helping them understand the performance at a glance.

  • Asset Breakdown: PortfiX displays detailed information about each token in the portfolio, including the amount held, contract addresses, and USD value for easy tracking. For example, users can view their ETH/USDC and BTC/USDC holdings, complete with current USD values.

AI-Powered Trade Strategy Recommendations

For each asset in the portfolio (e.g., ETH/USDC or BTC/USDC), PortfiX’s AI engine analyzes the current market trend and provides a strategy recommendation.

One-Click: Seamless Trade Execution

With the recommendation in hand, users can quickly select whether to Long or Short each token directly within the platform. After approval, the platform executes trades on Merkle Finance in real-time. The integration with Merkle Finance ensures that trades are executed at lightning speed with minimal slippage.

Tech Stack

Run App

# change directory to project portfix
cd portfix 
# install dependencies
npm install
# run dev
npm run dev
  • Don't forget to rename example.env to .env and add your API key

Run Backend (Portfolio Generator)

# install dependencies
pip install -r data-process/requirements.txt
# for test
python data-process/test_api.py
# for running
python data-process/main.py

What Move commands are available?

  • npm run move:publish - a command to publish the Move contract
  • npm run move:test - a command to run Move unit tests
  • npm run move:compile - a command to compile the Move contract
  • npm run move:upgrade - a command to upgrade the Move contract
  • npm run dev - a command to run the frontend locally
  • npm run deploy - a command to deploy the dapp to Vercel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors