Giter Site home page Giter Site logo

yccheok / jstock Goto Github PK

View Code? Open in Web Editor NEW
652.0 95.0 344.0 103.59 MB

JStock is a free stock market software for 28 countries.

Home Page: https://jstock.org

HTML 78.30% Python 0.04% Shell 0.01% NSIS 0.04% CSS 0.17% Java 21.36% Batchfile 0.01% Perl 0.07%

jstock's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jstock's Issues

Adding Analyst ratings/buy,sell recommendation in stock watchlist (for researching stocks)

Hi,
First of all, i start to like JStock the more i use it, can do almost anything i want it to do.

Im basically missing 1 thing, something like (or all :)

  • yahoo financial: 1 year target price
  • msn money stockscouter rating (1-10)
  • 4-trader investor rating (or short term trading rating)
  • reuters consensus recommendation

As a column or columns in the stock watchlist.

So i can more quickly determine if i should buy a stock for the long run, instead of short term RSI for example.

It might also be possible to calculate a rating from a bunch of indications/company stats/eps (im not an expert) available from the data of yahoo finance. Some of the above ratings have been calculated that way.

Is this possible?

thanks anyway already for this great program.

regards,
klaas-jan

standard deviation in function for indicator

HI, anyone there? just to check with you guys regarding on the function for the relative stock history. As i search from previous request in sourceforge, the standard deviation has been accept on 27/10/2009, so i just wanna check with you guys how is the progress on it.
thanks

How to get MACD chart and historgram in jstock ubuntu

I am using jstock in my ubuntu system . I uses MACD chart and histogram to study the trading of a stock. MACD is considered as an important tool for trading stocks but I am unable to find MACD option under technical analysis. It has RSI, EMA, MFI but no MACD tool. Is there a way to add MACD chart and histogram to the technical analysis chart?

Program upgrades

If I wanted to make changes to Jstock with a programmer how can I submit changes back to jstock? Thanks

Where is the central repository to add indicators?

I would like to add a bunch.
But i presume there should be a lot more available than the basic 5 that are downloadable now.

Use case:
On a side note for documentation, how do you run back tests with Jstock ?

I want to create an elaborate indicator with buy and sell orders.
Execute them at the appropriate time.
Get a list off all the transactions(trigger time, all parameters at that time, price and so on) if that strategy was active for the last x time/days(365) or interval from x to y
And see the total result of the indicators for evaluating its overall soundness
A nice graph to get a visual feel for spikes or gabs

kind regards and keep up the good work.

suggestion: CSV Import transactions Wizard

Importing trade transactions is not documented, not intuitive and really cumbersome. Unfortunately, most traders have long list of trades changing frequently and updating them one by one is an excruciating task...

A simple wizard to guide through the import process could change it all!

can't download indicators from server

Hi,
I can't download indicators from server. it shows:Failed to connect to JStock server.
Could you tell me the direct url? so i can download and import to JStock.

Thanks! Great project!

Discussion: News feature is impressive

Hi guys,
I have updated to latest version of jstock and the new news feature is pretty impressive. Now I dont have to visit other sites to see important news regarding a stock. Loading of the news is also fast(i have slow internet connection).

Any way keep up the good work

Suggestion for chart indictors

Currently jstocks have only a few number of chart indicators (SMA, EMA, RSI etc) which are very basic. I know that creating new indicators is a time consuming process and i have these suggestion towards that problem.

The best solution to this problem is a indicator creator/editor with lite programming.

Example.

This code plots MACD chart in tradingview website

study(title="Moving Average Convergence/Divergence", shorttitle="MACD")
source = close
fastLength = input(12, minval=1), slowLength=input(26,minval=1)
signalLength=input(9,minval=1)
fastMA = ema(source, fastLength)
slowMA = ema(source, slowLength)
macd = fastMA - slowMA
signal = sma(macd, signalLength)
hist = macd - signal
plot(hist, color=red, style=histogram)
plot(macd, color=blue)
plot(signal, color=orange)

instead of creating more indicators in jstock, jstock should improve its scanner editor (instead of blocks use some lite programming) and also add a chart indicator editor to the chart thus users can themselves create indicators and upload to jstock website.

Stock split issue

Take a look at Apple (AAPL) Stock after the split mid this year. It looks like the stock has fallen drastically on the chart when it did not. This is a giant issue and needs to be fixed. This is not the only stock this has happened with. I know this occurs with at least stocks that have been split.

Thanks,
Glen

JStock 1.0.7i start script coding issue (jstock.sh)

Hi,

Just downloaded the latest Jstock from SourceForge (http://downloads.sourceforge.net/jstock/jstock-1.0.7i-bin.zip). After unzipping, executing the jstock.sh always gives the complain:
bash: ./jstock.sh: /usr/bin/bash^M: bad interpreter: No such file or directory

After converting the file format from DOS to UNIX, the problem is resolved. My system is Ubuntu 13.10. It looks like the files were zipped under a Windows machine and may have LR/CF issue under Linux.

Please check it out.

How to add/import custom trading details from spreadsheet (csv) to jstock

I have a company trading details in spreadsheet ( csv format) which i want to import and do technical analysis in jstock. The spreadsheet contains these datas date ,open,close, high, low and volume in six separate column. What are the steps we have to take to import these CSV to jstock.

sample data

Date        Open        High        Low            Close        Volume
2015-06-18  46.220001   46.799999   46.169998   46.720001   3184500
2015-06-17  45.73       46.07       45.360001   45.970001   1566300
2015-06-16  45.349998   46.240002   45.299999   45.830002   2682250
2015-06-15  45.450001   45.650002   45.02       45.48       3080100
2015-06-12  46.220001   46.470001   45.900002   45.970001   2346200
2015-06-11  46.66       46.919998   46.130001   46.439999   2718600
2015-06-10  45.790001   46.830002   45.689999   46.610001   2952300
2015-06-09  45.759998   45.939999   45.459999   45.650002   2412470
2015-06-08  46.299999   46.43       45.669998   45.73       1822300
2015-06-05  46.310001   46.52       45.84       46.139999   2558900
2015-06-04  46.790001   47.16       46.200001   46.360001   2668000
2015-06-03  47.369999   47.740002   46.82       46.849998   2755200
2015-06-02  46.93       47.349998   46.619999   46.919998   2123400
2015-06-01  47.060001   47.77       46.619999   47.23       2592900
2015-05-29  47.43       47.57       46.59       46.860001   3548100



why i tried opening above csv in jstock its showing error as "not correct format"

How to submit indicators for jstock

Hi all,
I have made some simple indicators using jstock and want to submit here. The current indicators uses Golden cross rule for finding up trends and Death cross to find down trend in a market.

Hope you all like it

Death cross
Golden cross

potholiday

Features request for future versions

ANY JSTOCK USERS WITH ANY GOOD IDEA FOR JSTOCK CAN ADD DETAILS OF FEATURES REQUIRED IN THIS POST

Hi guys i recently came across jstock and immediately felled in love with this software. The best thing in this software is its free, multi-platform, high speed of execution and user interface. I have tried many free and premium (obviously; pirated :)) softwares for trading and this is the best of them all. Any way I know this project is handled by a few number of people and you have constraint of time but if you have enough time please consider these options.

  • Enable copying text from watchlist window (eg name of the stock)
  • Import custom stock details from csv to jstock (mentioned in my previous post)
  • Acessing stock pages in google/yahoo finance (mentioned in my previous post)
  • Advance Charting tools and indicators (current chart is basic lacks many indicators such as MACD, Bollinger etc)
  • Enable editing of x and y axis of chart (Zoom in and out are not perfect)
  • Movable chart using mouse in x and y direction instead of zoom in and out
  • Enable individual re-sizing of multiple charts inside a window (eg for stock with candle-stick, rsi charts we are unable to resize candle stick and rsi charts individually)
  • Improve Stock indicator editor (eg adding more programming functions such as loops, function)
  • Algorithmic trading (Buy/Sell)
  • Back-testing strategies
  • When multiple watch list exists; Add stocks from scanner to a particular watch list
  • Enable cut-copy-paste inside the stock indicator editor

Having problem with the connection with the server

1
Before this it work as it should. but now when I try to use the screener, it does not retrieve any data from the server. When i switch to different network, i can retrive the data for a while, but still after a period of time it facing the same problem

2
The same problem when i try to manually retrieve the data. it only show failed to retrieve the data.

Is it the problem with the server or i should change the setting on my side?
Btw. keep on going. i see a huge potential in Jstock.

Use CNBC as source

Hello, thank you for creating jStock.
I'm wondering if you think it would be a good idea to use CNBC as source since they're really real time, when yahoo finance and google finance are delayed.

I could help you to create CNBC API, would be really simple to create it using regex, since they don't have a webservice I guess.

Cloud import between Jstock Android and Jstock Linux

Hi,

I was testing cloud save/load feature using Jstock Android (0.9.83) and Linux (1.0.7.10) versions.
First I saved my portfolio to cloud from Jstock Android (I checked jstock-xxxxx.zip successfully created on Google Drive). Then I launched Jstock Linux version, and chose "Open from Cloud". It said "Loading from cloud successful" on Linux version, but the portfolio remained empty.

Does cloud backup work across Jstock Android and Linux versions? Such cross platform backup would be really useful...

Add annual return/xirr to portfolio

I would really love if the portfolio view would show the annual return as this would help compare between different investments that have been taken for different durations.

JStock may be violating the GPL with a closed-source component

Hi,

A package org.yccheok.jstock.engine is closed source component, while the rest of JStock claims to use the GPL. I am not a lawyer though involved in many license discussions especially via JCP EC.
GPL is very restrictive as to where closed source components may be used together with a GPL project, see http://www.quora.com/Is-it-OK-to-use-closed-source-libraries-in-an-open-source-program.

At first sight, I would say, the " org.yccheok.jstock.engine" package not qualifying to be a "system library" it likely violates using GPL for the entire project. Please check and consider your license or making " org.yccheok.jstock.engine" available Open Source, too.

Commit 802fbc446ac3ecc0f2c1468fa63383f9a3933d8b (7/12/14) broke unit tests

Reproduction recipe:

git clone https://github.com/yccheok/jstock.git
# Open in Netbeans
git co -b rollback1 2f660fb4abae118e4fa6adbe8fc6321de65750ce  # Creates branch at the commit and switches to it
# Run tests in Netbeans - All tests pass
git co -b rollback2 802fbc446ac3ecc0f2c1468fa63383f9a3933d8b # the next one after that above
# Run tests in Netbeans - 2 tests fail

See commit - 802fbc4

I can't see how this causes the failure - something to do with the NZ stock exchange changes???

What is the difference between stock relative. stock history information and real time stock information

Can you explain the difference between stock relative, stock history information and real time stock information. I am trying to create my own indicator and came across this problem. From the words i am able to conclude that real time stock information gives real time data (current time) of a stock but what does stock relative and stock history information means. When we have to use those values

can't locate jstock.jar

Hey, I follow this instruction
It seems that I can't locate any jstock.jar in folders.

./jstock.sh 
Error: Unable to access jarfile jstock.jar

I am running archlinux with oracle java

archlinux-java status
Available Java environments:
  java-8-jdk (default)

FULLY-FUNDED RESEARCH OFFICER (PHD STUDENT) POSITION AT MMU

I get email from Germany & Malaysia professors, who are looking for Ph.D. student, to study in "open source" related topic. If any of you are interested, feel free to contact them.


FULLY-FUNDED RESEARCH OFFICER (PHD STUDENT) POSITION AT MMU

We have a fully-funded Ph.D. student position available at MMU and are seeking one person.

The research project is about making wikis and Wikipedia more effective for knowledge projects. A key component is the development of open source software towards this goal. More details are available upon request.

The research officer (Ph.D. student) must have the following capabilities and experiences

Java (+ related) programming, object-oriented design, and software engineering
Working in a team using configuration management systems like git and GitHub

In addition, it would be helpful if the student had the following experiences:

Open source software development
Empirical research methods

The student will develop open source software jointly with our German research partner as part of the Sweble project. The research officer position is at MMU which will be granting the Ph.D. title.

Your resume should include links to open source projects you have participated in and identify those contributions.

For details or to submit your C.V. please send email to Dr. Ian Chai, Multimedia University, at [email protected].

History chart is blocking the entire app

I have a bug to report in version 1.0.7.8 for windows. If you open another window such as the about or buy form, while waiting for the stock history to download(when you double click on a stock or right click->History), when the history window appears, it covers the active window while remaining inactive and prevents me from moving it in order to close the active window(the about or buy window for example) underneath of it. Since the underlying window is the only active window, I have no way to close it. The only option is to close and restart the entire program. Please look into this bug.

Custom clearing fee & stamp duty not working

Both clearing fee & stamp duty calculation feature in Broker Fee seems not working. Both fees return 'zero' regardless what percentage value I entered in.

Example: Stamp duty=0.1% and Clearing=0.03% (Maybank)
screen shot 2014-03-11 at 3 09 02 pm
screen shot 2014-03-11 at 3 09 26 pm

Please fix this as is very crucial in Portfolio Management

Start Stock Indicator at startup

Hi,

I use JStock to notify me when to sell and buy using RSI in the stock indicator scanner.

The problem is.. when my pc or server restarts i can auto start jstock, but i cant automatically start the scanning too.. which means i might not be notified about important buy/sell events.

Does this exist somewhere in JStock .. or command line maybe?

Otherwise, is this hard to add? Would really like to have this feature!

EDIT : i mean start stock indicator SCANNER at startup.

thank you,
klaas-jan

How to use eclipse build it?

I want to use eclipse to develop jstock.
After downloaded all files, and I import to eclipse. There is no build path.

Maybe I need a .classpath and .project file.

Issue with visual chart analysis

Its difficult to do technical chart analysis using jstock.

eg i have a RSI 7 day chart and its difficult to get a meaningful, over brought and over sold signal using jstock chart

This chart from jstock
Jstock

This chart from tradingview
chart from tradingview

Both have the similar duration and ticks for the same stock. I can get a useful signal from tradingview app than jstock. It also happens with MACD indicator (enabled from source code)

Recommendation

  • change the y axis interval (currently its 25 change it to 5 or 10)

Real time price candle absent from historical charts

Basically I have two questions

first

I want to know why I cant find today’s real time price candle(+) in historical charts (EOD data)
(+)= Not minute by minute but single candle with todays high, low, last price and open
eg
today Feb 9 (trading time) if i check historical data for past month of any stock I only get stock till previous day that is feb 8 and not todays candle

Is it possible you can add real time candles to EOD historical data.It will be easier to visualize the chart.

Second question

while scanning with indicators do jstock consider todays real time data or only till previous day EOD da

Adding custom conditions to watchlist

is it there a way to add custom conditions to watch list

eg:

if (change% is between +2 and +5 percentage)
{
show the stocks of those companies in watch list
}

Reinvested dividends should count as shares

I was very excited about the AutoDividend feature. It seems to do the right thing, except for one thing. Let's see this scenario:

1) user buys 100 shares of XYZ at $1, for a total of $100 on Jan/1/2016
2) XYZ gives out a dividend of 0.23 per share on Feb/1/2016, for a total of $23
3) the user has automatic reinvested dividends, which means the $23 are used to buy more shares
4) assuming the share price has not changed (for sake of simplicity), the user now owns 123 shares
5) XYZ gives out a dividend of 0.45 per share on Mar/1/2016
Currently jstock calculates 0.45 * 100 shares as the suggested dividend. However the user has now 123 shares, so it should be 0.45 * 123.

Now, I understand that it could be difficult to know the exact price at which the reinvested dividend purchased the shared (step 4), but I think the AutoDividend dialog should provide at least fields for this, so that the user can mark a checkbox if the dividend was reinvested, and if so, the amount of shares or the purchase price (one defines the other since the amount available is the dividend amount itself).

This would make dividend updates much easier to type in, specially for new portfolios, that can have several years of unregistered dividends.

Thanks,
Sam.

Jstock fails to start on Arch Linux

after downloading, chmod +x and running jstock.sh I get the following error

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/yccheok/jstock/gui/JStock : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

How to open google finance page of a stock from jstock watchlist

I know that jstock fetches stock details from google finanace (realtime) and yahoo finance (delayed). As in my jstock watchlist I am using google finance (realtime) to fetch details. Is there a way to open those stocks page in google finance from jstock in a browser or in jstock.

Example
This is the page of pepsico in google finance and i have PEP in my watchlist. If i open the menu (using third mouse) of PEP stock, currently we have these three options History, buy and delete. it will be better to add another option Visit or something like that; to open the stocks page in google/yahoo finance

P.S. Watch list includes scanner also

Could you add Argentina as Country?

Hi there,
First of, thanks for keep it up this cool project!
Could you add Argentina as country? The Argentinian market index is MERVAL
Thanks!

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.