somewhat tested. But the idea is to take the hummingbot logfile path and transaction log file and feed it into HummStat. Setup as a container on the same system where the logfile is updated by Hummingbot
#Why? Im learning >> actual server and exchange messages will be looked at a bit later.
Beta. HumStat is a real-time trading analytics dashboard that visualizes trading data from Hummingbotlog files. It provides insights into trading activities, including order history, price trends, and performance metrics.
- Real-time log file monitoring
- Price trend visualization
- Order tracking (open/closed)
- Trading performance metrics
- Responsive design
- Live updates
Project Lead:
- Regard Vermeulen - Project Architect & Lead Designer
Development:
- Bolt - AI Development Assistant
- Docker
- Git
-
Clone the repository:
git clone https://github.com/yourusername/humstat.git cd humstat
-
Build the Docker image:
docker build -t humstat .
-
Run the container:
docker run -d -p 8080:80 humstat
-
Access the dashboard at
http://localhost:8080
- Node.js (v20 or later)
- npm (v9 or later)
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Access the dashboard at
http://localhost:5173
npm run build
The built files will be in the dist
directory.
- Launch the application
- Upload a trading log file using the file input in the top right
- The dashboard will automatically update with your trading data
- Toggle between Dashboard and Analytics views for different insights
The application expects log files with JSON events in the following format:
EVENT_LOG {"event_name": "BuyOrderCreatedEvent", "order_id": "123", "trading_pair": "BTC-USDT", "amount": "0.1", "price": "50000", "timestamp": 1634567890}
Supported event types:
- BuyOrderCreatedEvent
- SellOrderCreatedEvent
- OrderFilledEvent
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed #Opensource
No Support will be given at present.