Skip to content

A Haskell-Based Cryptocurrency Day Trading Bot

License

Notifications You must be signed in to change notification settings

AngeYobo/HaskBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaskBot

HaskBot is a Haskell-based trading bot that connects to cryptocurrency exchange APIs, processes market data, and generates trading signals based on technical indicators. The bot is modular and includes various components such as data fetching, data processing, indicator calculation, and signal generation.

Features

  • Data Fetching: Connects to WebSocket APIs to fetch real-time market data.
  • Data Processing: Handles incoming market data, storing it in a ring buffer for efficient access.
  • Technical Indicators: Calculates various technical indicators such as SMA, EMA, and RSI.
  • Signal Generation: Generates trading signals based on predefined strategies.
  • Dashboard: Displays real-time market data, indicators, and trading signals.

Modules

  • DataFetcher: Handles the WebSocket connection and data fetching.
  • DataProcessor: Processes incoming market data and manages the ring buffer.
  • IndicatorEngine: Calculates technical indicators.
  • SignalGenerator: Generates trading signals based on technical indicators.
  • DisplayManager: Displays market data, indicators, and trading signals.

Installation

To get started with HaskBot, follow these steps:

Prerequisites

Clone the Repository

git clone https://github.com/your-username/HaskBot.git
cd HaskBot

Install Dependencies

cabal update
cabal install --only-dependencies

Build the Project

cabal build

Usage

To run the bot:

cabal run HaskBot

To run the tests:

cabal test

Project Structure

HaskBot/
├── app/
│   └── Main.hs
├── src/
│   ├── DataFetcher.hs
│   ├── DataProcessor.hs
│   ├── DisplayManager.hs
│   ├── IndicatorEngine.hs
│   └── SignalGenerator.hs
├── test/
│   ├── DataFetcherTest.hs
│   ├── DataProcessorTest.hs
│   ├── DisplayManagerTest.hs
│   ├── IndicatorEngineTest.hs
│   ├── MainTest.hs
│   └── SignalGeneratorTest.hs
├── HaskBot.cabal
├── LICENSE
└── README.md

Contributing

Contributions are welcome! Please open an issue or submit a pull request with any improvements or bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any inquiries, please contact Ange Yobo at [email protected].

This README file includes sections on features, installation, usage, project structure, contributing, license, and contact information. Adjust the repository URL and contact information as necessary. This should provide a comprehensive overview and guide for anyone interested in using or contributing to HaskBot.

About

A Haskell-Based Cryptocurrency Day Trading Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published