Code Monkey home page Code Monkey logo

stock-portfolio-manager's People

Contributors

alexbt avatar

Watchers

 avatar

stock-portfolio-manager's Issues

Currency conversion

Currencies are never converted..

The overview could perform a currency conversion with today's rate and display 
the current total market value using a default currency.

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 3:33

Injection -> Guice

Rework the whole project to use Injection, so that Unit Test can be added where 
needed...

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:19

Symbol analysis

As a first step:

review each "Strategy" for Symbol analysis:

http://code.google.com/p/stock-portfolio-manager/source/browse/?repo=bp#hg%2Fsrc
%2Fcom%2Fproserus%2Fstocks%2Fbp%2Fstrategies%2Fsymbols

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:10

Refactor color configuration

Perhaps the default color should be in a property file ? and injected ?

Currently every screen access the ColorSettings view (which is a singleton)..

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 2:35

Unit test for Basic currency analysis

CommissionCY.java
CostCY.java
CurrencyStrategy.java
DividendStrategyCY.java
EndOfPeriodCY.java
QuantityCY.java
QuantitySoldCY.java
StartOfPeriodCY.java
SumSellingCY.java

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:16

Industry Sector Analysis

Purpose of code changes on this branch:


When reviewing my code changes, please focus on:


After the review, I'll merge this branch into:
/trunk


Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 3:57

Make SWING Thread safe

Make the SWING code thread safe

http://www.jguru.com/faq/view.jsp?EID=131370
javax.swing.SwingUtilities.invokeLater(Runnable ...);
http://download.oracle.com/javase/tutorial/uiswing/concurrency/dispatch.html
http://www.iam.ubc.ca/guides/javatut99/uiswing/overview/threads.html

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 3:29

really small number leads to NAN or bufferrOverflow

I entered a transaction with
Price: 0.00001
Quanity: 10

Because the real price stock is a lot higher (say 20$), the calculated profit 
exceeds the capacity (assumption) + the database produce an error ehen saving 
the transaction.

Original issue reported on code.google.com by [email protected] on 5 Aug 2011 at 9:14

SharedFilter vs FilterBp

Bad design - legacy code.. already...

review every places where SharedFilterBp and FilterBp are used.. do we really 
need 2 objects ? SharedFilterBp inherits from FilterBp..

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 2:31

Remove JFree DateTime dependencies

Somehow, the wrong DateTime object was used (from JFree). All date used should 
be from standard Java API (Date, Calendar...).

JodaTime could be nice, but it is harder to combine it with Hibernate. Or then 
use JodaTime everywhere...

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 3:05

launching from linux is not as easy as it could be

What steps will reproduce the problem?
1. extract the software
2. double-click on StockPortfolioLauncher.jar
3. Get an error dialog:

"The file '/home/olivier/soft/StockPortfolio/StockPortfolioLauncher.jar' is not 
marked as executable.  If this was downloaded or copied from an untrusted 
source, it may be dangerous to run.  For more details, read about the 
executable bit."

What is the expected output? What do you see instead?

It would run the program.

What version of the product are you using? On what operating system?

0.15beta, ubuntu linux

Please provide any additional information below.

Marking the .jar as executable in the zip file would most likely fix it. 
Otherwise providing a simple launch.sh could do it and might even be simpler 
for the end user (and cross-platform with the Mac). That said, the Launcher 
name makes it pretty clear it's the jar you need to run.

Let me know if you want to go the launch.sh way, I can quickly code one for you.

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 1:55

  • Merged into: #44

Create test cases for Basic Symbol analysis

Create test cases for basic: Symbol analysis
CommissionSYM.java
CostBasisSYM.java
DividendSYM.java
EndOfPeriodSYM.java
QuantityBoughtSYM.java
QuantityRemainingSYM.java
QuantitySoldSYM.java
StartOfPeriodSYM.java
SumSellingPricesSYM.java

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:13

Test cases for Advanced symbol analysis

Test cases for more advanced symbol analysis:

AverageCostPerShareSYM.java
MarketValueSYM.java
CapitalGainSYM.java
AnnualizedReturn.java
DividendYield.java
MarketGrowth.java
NumberOfYears.java
OverallReturn.java

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:14

Symbol drop-down box doesn't populate

What steps will reproduce the problem?
1. Click on "Add Transaction"
2. Click on Symbol drop-down

What is the expected output? What do you see instead?
The symbol drop-down should be populated with the entered symbols.

What version of the product are you using? On what operating system?
Version 0.10 Beta Build 2011-07-12_20h33m10s

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Jul 2011 at 10:46

resource file

All String should be moved to a resource file supporting multiple languages.

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 1:55

Use Injection in SWING ?

Need to remove the Singleton from the SWING model...

Should we use Injection ? Does that work well with Visual components ?

How should SWING be better designed.

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 2:54

User format tickers

The user should be allowed to defined its own preferred format for tickers. 
This feature should include the mapping between the format used by the 
application and the user preferred format.

This could be done via regular expressions..

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 1:56

Allow reinvesting dividend

When entering a dividend transaction, provide the option to reinvest it (and 
allow to specify the price and quantity for the reinvestment.

Original issue reported on code.google.com by [email protected] on 7 Aug 2011 at 1:10

SQL creation/update script

Add an automatic creation/update script and manahe the dbschema there instead 
of hibernate.
Change the hibernate property 'update' to the keyword that ensure that 
hibernate does not create/alter the db.

Original issue reported on code.google.com by [email protected] on 5 Aug 2011 at 9:21

Add another type of transaction: Adjust

Sometime the user lost track of its transactions and just want to rebalance its 
portfolio to its current value.

Another type of transaction could let the user enter its current number of 
share and/or average price and/or total price..

The application would then create the necessary buy/sell transaction for the 
user.

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 2:19

suggestions to improve the program

great start!
my bias:  I think most investors are looking for a SIMPLE program to track 
investments especially for CAPITAL GAINS/LOSSES purposes (tax).

Therefore some suggestions to improve:  (while keeping it simple)

1.  TRANSACTIONS TAB - enable multiple stock "portfolios" (folders) to place 
transactions into

2.  TRANSACTIONS TAB - display CAPITAL GAIN/LOSS AT DISPOSITION (column) when 
SOLD

3.  TRANSACTIONS TAB - display ADJUSTED COST BASE (per #shares) AT DISPOSITION 
(column) when SOLD

4.  TRANSACTIONS TAB - display COMMISSION/EXPENSES INCURRED ON SHARES (column) 
when SOLD

5.  OVERVIEW TAB - choose display "total portfolio" versus "each portfolio"

6.  PERFORMANCE TAB - the "capital gain" is tricky because it's actually a loss 
if sold at less than the purchase price.  You need to rethink this...

all for now
G

Original issue reported on code.google.com by [email protected] on 26 Aug 2011 at 5:55

Currency analysis review

As a first step:

review each "Strategy" for Currency analysis:

http://code.google.com/p/stock-portfolio-manager/source/browse/?repo=bp#hg%2Fsrc
%2Fcom%2Fproserus%2Fstocks%2Fbp%2Fstrategies%2Fcurrencies


Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 7:09

  • Merged into: #2

Reset Focus to Symbol Textbox

What steps will reproduce the problem?
1. Add a new symbol and click "Add"

What is the expected output? What do you see instead?
The focus should be set to the Symbol textbox rather than keeping focus on the 
Add button

What version of the product are you using? On what operating system?
Version 0.10 Beta Build 2011-07-12_20h33m10s

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Jul 2011 at 10:45

OSX 10.5 launch problematic

What steps will reproduce the problem?
1. try to launch the software by double clicking on it
2. fail

What is the expected output? What do you see instead?

"The Java JAR file “StockPortfolioLauncher.jar” could not be launched."

What version of the product are you using? On what operating system?

0.15beta, Mac OS X 10.5.8

Please provide any additional information below.

The root of the problem is that on 10.5 the Java on the PATH is java 5. java 6 
is installed on OSX since 10.5.2 but not linked to the /usr/bin/java. I think 
that 10.6 has java 6 by default.

A launcher script could deal with that for 10.5. If you want to support 10.4 
then I'm afraid you'll have to rely only on Java 5 as Java 6 is mac intel only.

Again I can help with the launcher, just let me know.

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 3:03

import CSV issue

Importing a CSV file fails. This was raised ny Steve through the mailing list, 
more details are required


Original issue reported on code.google.com by [email protected] on 5 Aug 2011 at 9:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.