Skip to content
 
 

Repository files navigation

TrackC - Building a free crypto investment tracker

TrackC is a web application that allows users to track their cryptocurrency transactions, manage their portfolio, and stay updated with the latest cryptocurrency news. It provides real-time updates on the current value of their holdings, calculates the portfolio worth, and displays equity percentages. The app uses data from the CoinGecko API to fetch live cryptocurrency price updates and news articles.

Features

  • User Authentication: Users can create an account, log in, and log out securely.
  • Add Transactions: Users can add their cryptocurrency transactions, including the coin name, number of coins bought, and price purchased.
  • Remove Transactions: Users can remove previously added transactions by specifying the coin name and number of coins sold.
  • Real-time Data: The app fetches live cryptocurrency prices from the CoinGecko API to provide real-time updates on the current value of each transaction and the overall portfolio worth.
  • Equity Calculation: The app calculates the equity percentage for each transaction based on the price purchased and the current value, displaying it with a color-coded indicator (green for positive equity, red for negative equity).
  • Portfolio Summary: The app displays the total portfolio worth and the total equity percentage for the entire portfolio.
  • Cryptocurrency News: The app fetches the latest news articles from the CoinGecko API, providing users with up-to-date information about the cryptocurrency market.

Table of Content

Deployment

The app has been deployed on [Render] and can be accessed at app URL.

Technologies Used

  • Python
  • Flask (web framework)
  • SQLAlchemy (database toolkit)
  • CoinGecko API (for live cryptocurrency prices and news)
  • HTML
  • Tailwind CSS Elements
  • JavaScript

Setup and Installation

  1. Clone this repository: git clone https://github.com/TSOlami/TrackC.git
  2. Access the directory: cd TrackC
  3. Create a virtual environment and activate it: python3 -m venv venv source venv/bin/activate
  4. Install the dependencies: pip install -r requirements.txt
  5. Set the environment variables:
  • Rename the .env.example file to .env.
  • Open the .env file and provide your values for the SECRET_KEY
  1. Set up the database:
  • Rename the config.py.example file to config.py.
  • Open the config.py file and provide your values for your database URI
  1. Run the application: Navigate to the directory where the main.py file is located and run python main.py
  2. Open your web browser and visit http://localhost:5000 to access the application.

Usage

  1. Create a new account or log in with your existing credentials
  2. Go to the transactions page and add your cryptocurrency transactions using the "Add Transaction" form. Enter the coin name, number of coins bought, and the price purchased.
  3. Remove transactions using the "Remove Transaction" form. Specify the coin name and the number of coins sold.
  4. The app will fetch live cryptocurrency prices and provide real-time updates on the current value of each transaction.
  5. View the list of transactions, including details such as coin name, symbol, price purchased, number of coins, time transacted, time updated, cost basis, current value, and equity.
  6. The portfolio worth and total equity for the entire portfolio will be displayed at the bottom of the transactions table.
  7. Stay updated with the latest cryptocurrency news by visiting the "News" section of the app. The news articles are fetched from the CoinGecko API and provide valuable insights into the cryptocurrency market.

File Descriptions

Bugs

No known bugs at this time.

Contributing

Contributions to the Portfolio Tracker project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. You can also contact us through our email

Authors

Tijani Saheed Olalekan - Github / Twitter / Linkedin Timilehin Olusa - Github / Twitter / Linkedin Abdulkareem Abdulquddus Olayinka - Github / Twitter / Linkedin

License

Public Domain. No copy write protection.

About

A flask application that let's investors track their assets across all platforms

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages