finance

Real Time Candle stick chart using javafx (and no jfreechart )

故事扮演 提交于 2020-01-12 09:33:11
问题 I want to make a candlestick chart which reads stream of data and then plot it (so it will be plotting either as data comes or after certain period it will update the previous plot). I do not want to use any third party software as Jfree chart want it to be build from javafx directly. Any help will be highly appreciated. Thank you Edit : Can anyone tell me how stage.show() works like which class which method it involke. 回答1: The Ensemble application includes a candlestick chart implementation

machine learning-how to use the past 20 rows as an input for X for each Y value

若如初见. 提交于 2020-01-10 02:05:32
问题 I have a very simple machine learning code here: # load dataset dataframe = pandas.read_csv("USDJPY,5.csv", header=None) dataset = dataframe.values X = dataset[:,0:59] Y = dataset[:,59] #fit Dense Keras model model.fit(X, Y, validation_data=(x,y_test), epochs=150, batch_size=10) My X values are 59 features with the 60th column being my Y value, a simple 1 or 0 classification label. Considering that I am using financial data, I would like to lookback the past 20 X values in order to predict

How to remove rows after a particular observation is seen for the first time

我怕爱的太早我们不能终老 提交于 2020-01-04 07:54:38
问题 I have a dataset wherein I have account number and "days past due" with every observation. For every account number, as soon as the "days past due" column hits a code like "DLQ3", I want to remove rest of the rows for that account (even if DLQ3 is the first observation for that account). My dataset looks like: Obs_month Acc_No OS_Bal Days_past_due 201005 2000000031 3572.68 NORM 201006 2000000031 4036.78 NORM 200810 2000000049 39741.97 NORM 200811 2000000049 38437.54 DLQ3 200812 2000000049

How to remove rows after a particular observation is seen for the first time

a 夏天 提交于 2020-01-04 07:54:11
问题 I have a dataset wherein I have account number and "days past due" with every observation. For every account number, as soon as the "days past due" column hits a code like "DLQ3", I want to remove rest of the rows for that account (even if DLQ3 is the first observation for that account). My dataset looks like: Obs_month Acc_No OS_Bal Days_past_due 201005 2000000031 3572.68 NORM 201006 2000000031 4036.78 NORM 200810 2000000049 39741.97 NORM 200811 2000000049 38437.54 DLQ3 200812 2000000049

Python: “ImportError: DLL load failed: The specified module could not be found.” Problems when importing ffn (finance library for python)

半城伤御伤魂 提交于 2020-01-03 04:09:07
问题 Apologies if there does in fact exist a thread that has already figured this out (I've spent a few hours attentively searching multiple sites and the GitHubs for the dependencies that seem to cause the problems), however each solution seemed fairly specific to the particular library that so and so was attempting to use. I've been messing around with quantitative finance/ algorithmic trading and have been trying to import a particular library ffn , however, per the question title, I've been

R Generating a 1 min spaced time sequence

匆匆过客 提交于 2020-01-01 14:33:54
问题 I would like to generate a 1 min spaced time sequence to paste then to a xts object. Basically, I've got a tick-by-tick dateTime object like that : [1] "2010-02-02 08:00:03 CET" "2010-02-02 08:00:04 CET" "2010-02-02 08:00:04 CET" "2010-02-02 08:00:04 CET" "2010-02-02 08:00:04 CET" [6] "2010-02-02 08:00:04 CET" "2010-02-02 08:00:04 CET" "2010-02-02 08:00:05 CET" "2010-02-02 08:00:05 CET" "2010-02-02 08:00:05 CET" I'm aggregating my xts series (by previous tick) to get a 1 min (equally)-spaced

Using R to Analyze Balance Sheets and Income Statements

◇◆丶佛笑我妖孽 提交于 2019-12-29 18:04:58
问题 I am interested in analyzing balance sheets and income statements using R. I have seen that there are R packages that pull information from Yahoo and Google Finance, but all the examples I have seen concern historical stock price information. Is there a way I can pull historical information from balance sheets and income statements using R? 回答1: You are making the common mistake of confusing 'access to Yahoo or Google data' with 'everything I see on Yahoo or Google Finance can be downloaded'.

Download all stock symbol list of a market [closed]

人走茶凉 提交于 2019-12-29 02:56:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I need to download in some way a list of all stock symbol of specified market. I've found in this link ho can I do it someway. It uses following link in order to retrieve stock list that statisfies some parameters: https://www.google.com/finance?start=0&num=3000&q=%5B(exchange%20%3D%3D%20%22NASDAQ%22)%20%26%20

Google finance converter stopped working or changed its url? [closed]

﹥>﹥吖頭↗ 提交于 2019-12-28 13:35:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . https://finance.google.com/finance/converter now redirects to https://www.google.com/search Have they changed the url ? 回答1: I found a workaround this url is working: https://finance.google.co.uk/bctzjpnsun/converter you can view old pages by inserting this 'bctzjpnsun' in the url. For instance portfolio view with

Google finance converter stopped working or changed its url? [closed]

我们两清 提交于 2019-12-28 13:34:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . https://finance.google.com/finance/converter now redirects to https://www.google.com/search Have they changed the url ? 回答1: I found a workaround this url is working: https://finance.google.co.uk/bctzjpnsun/converter you can view old pages by inserting this 'bctzjpnsun' in the url. For instance portfolio view with