A modern, responsive web application for visualizing and backtesting cryptocurrency trading strategies using the Stochastic Oscillator indicator.
View the live demo (Replace with your actual deployed URL)
- Interactive backtesting with configurable parameters
- Real-time price charts with trade entry/exit markers
- Performance metrics dashboard
- Detailed trade history with sorting and filtering
- Dark mode support
- Responsive design for all devices
- React - Frontend framework
- Tailwind CSS - Styling and responsive design
- Lightweight Charts - Trading charts
- Flask - Backend API (separate repository)
- Node.js 14+ and npm
- A running instance of the Stochastic Oscillator Trading Bot Backend
-
Clone the repository:
git clone https://github.com/yourusername/trading-bot-frontend.git cd trading-bot-frontend -
Install dependencies:
npm install -
Create a
.env.localfile:REACT_APP_API_URL=http://localhost:5000Update the URL to point to your backend API instance.
-
Start the development server:
npm startThe application will open in your browser at http://localhost:3000
This frontend application requires the backend API to be running. By default, it will look for the API at http://localhost:5000. To connect to a different backend instance:
- Update the
.env.localfile with your backend URL - Or deploy with environment variables set in your hosting platform
To build the application for production:
npm run build
The build is minified and optimized for best performance. See the deployment section in the Create React App documentation for more information on deploying to various platforms.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your 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
This project is licensed under the MIT License - see the LICENSE file for details.
- TradingView Lightweight Charts for the charting library
- Tailwind CSS for the styling framework
