Free yourself from minute-by-minute wall street hypes, and focus on your long-term investment goals and diversification.
—————————
I wanted a simple way to track my investment. I don’t want to log in to my broker’s website every time I need to check the total balance. The search engine results distract my focus and show me too much information. I am not a day trader and never will be, but I want to make sure I’m heading in the right direction – that my investment is appreciating over the long-term, and also track the proper asset allocation once in a while.
This software is not meant for real-time tracking nor it provides any prediction. You may want to use it to update any changes (buy/sell activities) to your long-term investment. You may not want to open this program every day.
The software is developed with Processing, and it gets real-time and historical stock data from Yahoo.
I started working on this project to meet my personal needs, and now I’m releasing as an open-source software (under GNU GPL license) in case anyone has similar interests as I do, and looking forward to any feedbacks. Please visit my website for the latest release and more information. Please visit my github for bug reporting, etc.
Thank you.
http://paperdove.com
https://github.com/cdaein/Simple-Investment-Tracker
- Spaceship player;
- int life = 10;
- int score = 0;
- ArrayList<Asteroid> asteroids;
- int numAsteroids = 70;
- boolean gameOver = false;
- void setup() {
- size(800, 600, P2D);
- frameRate(60);
- player = new Spaceship(life);
- asteroids = new ArrayList<Asteroid>();
- for (int i=0; i<numAsteroids; i++) {
- asteroids.add(new Asteroid());
- }
- mouseX = width/2;
- mouseY = height/2;
- }
- void draw() {
- background(0);
- for (int i = 0; i < asteroids.size(); i++) {
- Asteroid a = (Asteroid) asteroids.get(i);
- a.update();
- a.display();
- if (player.isHitBy(a)) {
- asteroids.remove(a);
- fill(255, 0, 0);
- rect(0, 0, width, height);
- if (player.life <= 0) {
- gameOver = true;
- }
- }
- }
- if (!gameOver) {
- player.display();
- player.update();
- }
- drawHUD();
- debug();
- }
- void keyPressed() {
- if (key == ' ') {
- //shoot a bullet
- }
- }
- void debug() {
- println("FPS: " + frameRate + " | " + "Life: " + player.life);
- }
- void drawHUD() {
- if (gameOver) {
- noStroke();
- fill(0, 150);
- rect(0, 0, width, height);
- fill(255, 0, 0);
- textSize(80);
- textAlign(CENTER);
- text("GAME OVER", width/2, height/2);
- textSize(30);
- text("Your Score is " + score, width/2, height/2+40);
- }
- else {
- fill(255, 255, 0);
- textSize(24);
- textAlign(LEFT);
- text("life: " + player.life, 30, 30);
- text("Score: " + score, 30, 50);
- }
- }