Skip to content

nickprotop/trader

Repository files navigation

Crypto Trading Bot

Disclaimer

⚠️ This project is a SIMULATOR and is not intended for real trading or financial advice. Use it at your own risk. It is not for real-life financial decisions. ⚠️

Overview

A simple project, for educational purposes, that simulates a cryptocurrency trading bot.

Features

4. Portfolio Management

  • Balance and Portfolio Report: Displays the current balance, portfolio worth, and detailed portfolio holdings.
  • Transaction History: Shows the history of all buy and sell transactions with detailed information.
  • Database Statistics: Provides statistics on the stored price data and transaction history.

5. User Interaction

  • Console Menu: Interactive console menu for various operations such as viewing balance, transaction history, and database statistics.
  • Verbose Mode: Option to view detailed balance and portfolio information.

Styles and Patterns

  • Dependency Injection: Use of dependency injection for managing services and operations.
  • Asynchronous Programming: Extensive use of async/await for non-blocking operations.
  • Console UI: Use of Spectre.Console for rich console output and user interactions.
  • Separation of Concerns: Clear separation of different functionalities into services and models.
  • Configuration Management: Centralized management of settings and configurations.

Technologies Used

  • C# 13.0: The application is developed using the latest features of C#.
  • .NET 9: Target framework for building and running the application.
  • Microsoft.Extensions.DependencyInjection: Dependency injection framework for managing service lifetimes.
  • Microsoft.Extensions.Hosting: Hosting framework for building long-running applications.
  • Microsoft.ML: Machine learning library for integrating ML models.
  • Spectre.Console: Library for creating beautiful console applications.
  • System.Data.SQLite: SQLite database provider for data storage.

Getting Started

To get started with the application, follow these steps:

  1. Clone the repository.
  2. Open the solution in Visual Studio 2022.
  3. Build the solution to restore the necessary packages.
  4. Run the application.

Contributing

Contributions are welcome! Please fork the repository and submit pull requests for any enhancements or bug fixes.

Dependencies

  • .NET 9
  • Spectre.Console
  • System.Data.SQLite

License

This project is licensed under the GPLv3.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages