Spaces:
Sleeping
A newer version of the Streamlit SDK is available:
1.44.1
license: mit
title: Charging Bull Trader
sdk: streamlit
emoji: π
colorFrom: blue
colorTo: green
short_description: 'A stock trading game '
sdk_version: 1.37.1
Charging Bull Trader
Overview
Welcome to Charging Bull Trader, a trading simulation game where you start with a balance of $10,000 and engage in buying and selling stocks. The game also allows you to seek news about stocks and tracks your performance over time.
Features
- Trade Stocks: Buy and sell stocks from a predefined list.
- Track Performance: View your current cash balance, portfolio, and overall financial status.
- Stock News: Get the latest news about specific stocks.
- Portfolio Performance: Analyze the historical performance of stocks in your portfolio.
- Database Tracking: Each player's activity is recorded in a SQLite database, tracking transactions and performance.
Getting Started
Prerequisites
Ensure you have Python 3.8 or higher installed on your system. You'll also need to install the required Python packages, which can be done using the requirements.txt
file.
Installation
Clone this repository to your local machine:
git clone https://github.com/anttiluode/chargingbulltrader.git cd chargingbulltrader
Create a virtual environment (optional but recommended):
Use whatever software like Anaconda, or do not use a virtual environment.
Install the required packages:
pip install -r requirements.txt
Run the Streamlit app:
python -m streamlit run app.py
or
streamlit run app.py
Create account and log in. You may have to press the log in button twice for some reason.
Usage
- Create an Account: Use the sidebar to create an account with a username and password.
- Login: Once registered, log in using your credentials.
- Trade Stocks: Buy and sell stocks through the trading interface.
- Check Performance: View your current balance, portfolio, and transaction history.
- Explore News: Get the latest news for stocks of interest.
- Analyze Portfolio: View and analyze the historical performance of stocks in your portfolio.
Credits
- Author: Created by Antti Luode with assistance from ChatGPT.
- Image: Generated by Flux.1 AI.
- Music: Composed by Udio.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy trading and tracking your stock performance with Charging Bull Trader!