Skip to content

R3VANEK/Stocky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stocky

forthebadge forthebadge

Table of Contents

How to get started

This program was constructed for lectures about JavaFX. It is simple app for viewing your stock exchange gains and losses. To start using it, modify userData.json that is filled with sample data

{
  "myStocks": [
    {
      "Ticker" : "MSFT",
      "BoughtAt" : 300
    },
    {
      "Ticker" : "GME",
      "BoughtAt" : 400
    },
    {
      "Ticker" : "SHOP",
      "BoughtAt" : 1669.52
    },
    {
      "Ticker" : "JNJ",
      "BoughtAt" : 100
    }
  ]
}

You can find stock ticker for your company here
values in properties BoughtAt represents money in dollars

Functionalites of app

After setting up userData.json when you start app it will automatically display visual cards with current stock info related to your interests

You can there view basic info like

  • company name
  • company's ticker
  • price you paid for shares
  • current market price
  • calculated loss or gain in percentage

Stocky also provide a way to save session data so you always can see how your stocks behave from day to day. To do this just click button "Save session data" it will be saved under /data folder as .json file with current date as name

Example 2021-11-19.json

{
 "StockData" : [
		{
			"Ticker" : "MSFT",
			"Currentprice" : 341.27
		},
		{
			"Ticker" : "GME",
			"Currentprice" : 210.13
		},
		{
			"Ticker" : "SHOP",
			"Currentprice" : 1683.18
		},
		{
			"Ticker" : "JNJ",
			"Currentprice" : 162.41
		}
	]
}

Comments and adnotations

  • Due to deadline users must modify personalData.json directly, the app doesn't provide any graphical help for that

Technologies used

Authors

Jan Napieralski R3VANEK

License

GPL-3.0

About

simple JavaFX app to view stocks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors