Portfolio Performance

一个计算投资组合整体表现的简单工具。「A simple tool to calculate the overall performance of an investment portfolio.」

Github星跟蹤圖

About

A simple tool to calculate the overall performance of an investment portfolio.

See http://www.portfolio-performance.info for more details.

Build Status Latest Release Release Date License

LOC Bugs Vulnerabilities Code Coverage

Prerequisites

Developing with Eclipse

Eclipse Setup

To develop, use the latest Eclipse IDE release plus Plug-in Development Environment (PDE). PDE homepage is http://www.eclipse.org/pde/ and it can be installed via Help/Install new Software. The link for the update site is mentioned in the PDE docs.

Optionally, install via the Eclipse Marketplace

  • infinitest
  • ResourceBundle Editor
  • SonarLint
  • Eclipse Checkstyle Plug-in

Setup

Clone the git repository.

Import projects by

  • selecting "Import Projects..." on the Git repository in the Git perspective
  • choosing "File" > "Import..." > "Existing Projects into Workspace" from the menu

After importing the Portfolio Performance projects in Eclipse, they will not compile due to missing dependencies: the target platform is missing.

Set Target Platform

  • Open the portfolio-target-definition project
  • Open the portfolio-target-definition.target file with the Target Editor (this may take a while as it requires Internet access). If you just get an XML file, use right click and chose Open With Target Editor
  • In the resulting editor, click on the "Set as Active Target Platform" link at the top right (this may also take a while)

Run Program

Run the application and the tests with the launch configurations stored in ~/portfolio-app/eclipse folder (right-click "Run As").

:warning: The launch configuration needs an update when bundles are added and removed or the OS platform changes. If the program does not start, try selecting "Add required plug-ins" in the launch configuration dialog.

Building with Maven

Maven is not required (anymore) to develop Portfolio Performance as you can develop using the Eclipse IDE with the setup above. The Maven build is used for the Travis CI build.

Configure

Mac OS X / Linux

export MAVEN_OPTS="-Xmx1g"

Windows

set MAVEN_OPTS="-Xmx1g"

Build

Run Maven 3.x.x in the 'portfolio-app' directory:

mvn clean verify -Dtycho.disableP2Mirrors

License

Eclipse Public License
http://www.eclipse.org/legal/epl-v10.html

主要指標

概覽
名稱與所有者portfolio-performance/portfolio
主編程語言Java
編程語言Java (語言數: 6)
平台Windows, Mac, Linux
許可證Eclipse Public License 1.0
所有者活动
創建於2012-03-24 09:43:08
推送於2025-04-26 06:22:56
最后一次提交2025-04-26 08:22:56
發布數269
最新版本名稱0.75.1 (發布於 2025-04-09 21:16:14)
第一版名稱0.5.0 (發布於 2012-03-31 14:46:33)
用户参与
星數3.2k
關注者數68
派生數653
提交數7k
已啟用問題?
問題數2032
打開的問題數720
拉請求數1830
打開的拉請求數50
關閉的拉請求數759
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?