A comprehensive cryptocurrency trading platform with support for automated trading strategies, backtesting, and exchange integration via browser extension.
- Automated trading with customizable strategies
- Real-time market data visualization
- Strategy backtesting and performance analysis
- Browser extension for Poloniex and TradingView integration
- Portfolio tracking and trade history
- Authentication and secure API key management
- Install dependencies:
yarn- Start the development server:
yarn dev- Load the Chrome extension:
- Open Chrome and go to
chrome://extensions - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
extensionfolder from this project
- Testing modes:
- Mock Mode: By default, all API calls use mock data in development
- Live Testing: To test with real API:
- Add your Poloniex API credentials in Settings
- Enable "Live Trading" mode
- The extension will connect to your Poloniex account
- Extension Features:
- TradingView integration: Visit TradingView to test chart data extraction
- Poloniex integration: Visit Poloniex to test trading features
- Account sync: Extension saves login state between sessions
yarn dev- Start development serveryarn build- Build for productionyarn lint- Lint codeyarn lint:fix- Fix linting issues automaticallyyarn format- Format code with Prettieryarn check-types- Check TypeScript typesyarn test- Run all testsyarn test:watch- Run tests in watch modeyarn server- Start backend server
./scripts/fix-common-issues.sh- Automatically fix common issues./scripts/improve-types.sh- Analyze codebase for typing issues
- Build the application:
yarn build- Package the extension:
- Update
manifest.jsonwith production URLs - Zip the extension folder for Chrome Web Store submission
- Use the built-in extension packager from the app:
Then navigate to
yarn build yarn server
/extensionin the app and click "Download Extension"
- Deploy the web application:
yarn build
yarn deploy # Requires configuration in package.json/src- Main application code/components- UI components/context- React context providers/hooks- Custom React hooks/pages- Application pages/services- API and service integrations/types- TypeScript type definitions/utils- Utility functions
/extension- Browser extension code/public- Static assets/server- Backend server code/supabase- Supabase configuration and migrations
Create a .env file with:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_POLONIEX_API_KEY=your_api_key # For testing only
VITE_POLONIEX_API_SECRET=your_api_secret # For testing only
- API keys are stored securely in Chrome's extension storage
- All trading actions require explicit user confirmation
- Mock mode prevents accidental real trades during testing
- All sensitive operations require authentication
- User API keys are encrypted before storage
- Check the issue tracker for open issues
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request