Skip to content

Commit

Permalink
add wsb portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
AramKoorn committed Nov 13, 2021
1 parent 95e09f2 commit aa69254
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Alternatively, modify the portfolio.yaml in the user_data/portfolio/ folder.
Real-time overview of portfolio. The portfolio automatically gets updated with the real-time stock/crypto prices while the app is running. The app can be closed by hitting q or CTRL+C.

```sh
tenbagger --portfolio my_portfolio
tenbagger --portfolio WSB
```
![Features](./imgs/static/portfolio.png)
![Features](./imgs/static/wsb_portfolio.png)

Simulate passive income of dividend payouts and staking rewards

Expand Down
Binary file added imgs/static/wsb_portfolio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tenbagger/src/textui/widgets/ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, ticker):
self.last_day_close = self.ticker.get_last_day_close()

def on_mount(self):
self.set_interval(1, self.refresh)
self.set_interval(10, self.refresh)

def render(self):
overview = self.ticker.overview()
Expand Down
13 changes: 13 additions & 0 deletions user_data/portfolio/portfolio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ my_portfolio:
aapl: 20
eth-usd: 2

WSB:
wish: 1000
tsla: 100
shib-eur: 100000
nvda: 100
baba: 100
bb: 100
gme: 1000
amc: 1000
intc: 1000
eth-eur: 10

# You can modify the current portfolio or add a new portfolio. Make sure that you use ticker
# symbols as listed on yahoo finance. for instance, if you want to add a portfolio called household_portfolio that contains 5 tesla shares:
household_portfolio:
Expand All @@ -20,3 +32,4 @@ hypothetical_portfolio:
AAPl: 2
ETH-USD: 2
TSLA: 10

0 comments on commit aa69254

Please sign in to comment.