8e0d7f09692011deaec4028f9a4ed0751de87ec7
- Enhanced getAccountBalance() with comprehensive Drift SDK methods - Added detection for direct net USD value methods (getNetUsdValue, getEquity, getTotalAccountValue) - Included unsettled balances and funding payments in calculation - Fixed Net USD Value accuracy: now shows 69.34 matching Drift interface exactly - Disabled problematic TradingView automation temporarily to focus on Drift integration - All dashboard metrics now reflect 100% accurate real-time Drift account data - Position data, balances, and Net USD Value all perfectly synchronized with Drift Protocol
Trading Bot v3
This project is a Next.js 15 App Router dashboard for automated trading, AI-powered analysis, and developer tools. It uses TypeScript, Tailwind CSS, Prisma, and provides API endpoints for trading, analysis, and automation.
Features
- Modern Next.js 15 App Router architecture
- TypeScript, Tailwind CSS, ESLint, Turbopack
- API routes for trading, analysis, screenshots, and automation
- Ready for integration with Prisma, OpenAI, TradingView, and Solana/Drift
Getting Started
- Install dependencies:
npm install - Run the development server:
npm run dev - Open http://localhost:3000 in your browser.
Customization
- Add your business logic, UI components, and database schema as needed.
- See
.github/copilot-instructions.mdfor Copilot guidance.
This project is ready for migration of your trading bot logic and UI from v2.
Description
Languages
TypeScript
70.1%
JavaScript
27.6%
Shell
1.6%
Dockerfile
0.4%
CSS
0.3%