Git Product home page Git Product logo

smf-extension's People

Contributors

madsailor avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smf-extension's Issues

Yahoo Beta

I have a stock screener that uses the beta field. Can that be added to the list of datacodes?

GETMORNINGFIN pulling quarterly

(First, I love this extension after just installing it an hour ago. GETYAHOO is the best. You are the reason I switched to Libre Office!)

I was trying out your sample .ODS files. The GETMORNINGFIN functions works well for code 1 (TTM), but codes 2 - 6 (and 8 - 12, etc.) are pulling quarterly numbers instead of annual numbers. So, I am getting the same results with code 2 with function GETMORNINGFIN as I get with GETMORNINGQFIN. However, GETMORNINGKEY appears to still be returning annual numbers.

(I apologize to everyone if anything about this is poorly/improperly phrased or used. I made this account just to post this comment, but I don't really understand GitHub.)

Fix for XETRA and locale number Problem here

First thanks for the working extension
some people ask here how to get xetra numbers which is quite easy e.g. =GETYAHOO("gfj.de";21) -> .de does the trick

the extension has the bug that the locale setting is somewhat hardcoded like 15.50 which does not work for a german setting/calc I saw some weird VALUE SUBST function to fix that but my way looks more elegant e.g. =GETYAHOO("gfj.de";21)*1000/1000 which seems to fix that extension bug

Currency exchange rates

Not so much an issue, more a suggestion. You might want to promote the fact that the GetYahoo function can also be used to get currency exchange rates as it is, without change.
Just change ticker to something like "GBPUSD=X" or "AUDJPY=X" with Datacode of something like 5.

e.g. GETYAHOO(A1,Datacode) where A1 = "USDEUR=X"

Dividend Yield 1 N/A
Dividend per Share 2 N/A
Dividend Pay Date 3 N/A
Ex-Dividend Date 4 N/A
Previous Close 5 0.9069
Open 6 0.9069
Change 7 -0.0083
Last Trade Date 8 8/19/2015
Change & Percent Change 9 -0.0083 - -0.9166%
Last Trade Time 10 8:27pm
etc.

Incidentally - thanks for SMF. I've just recently abandoned Windows & started using Ubuntu.
Had my first foray into python by adding GetYahooHistorical to your extension. It works, though being my first probably a bit ropey.

European markets

this ISIN symbol returns NA: LU0383783841
I suppose it has to do with the fact that it is listed on a European exchange. If so, are there any plans to support those? Thanks

Can't get cells with GETYAHOO to update

Hi Madsailor,

I'm using your SMF extension to pull stock quotes into my Libreoffice spreadsheet.

I'm using Libreoffice 4.4.3.2 and I the formula I'm using is

=VALUE(GETYAHOO(B4,21))

B4 contains the ticker symbol for the stock, in this case SWKS.
The formula gets the right value once, but if I load the spreadsheet next day and try to update the values, hoping to see the new closing prices, nothing happens. I tried updating links with Edit -> Links... (Update Links), but the formula above doesn't seem to be considered a link and doesn't show up in the list.

Any idea how I can get the cells with this formula to update and fetch the new value?

Thanks!
Robert

GETYAHOO displays "Forbidden"

The GETYAHOO function now only ever returns the string "Forbidden"

4fc40c345a58bb2ef9325bc

The exact same code was working fine until a few days ago.

iex

What are the chances of someone integrating IEX.

apparently its free and has loads of info.

My biggest problem is getting dividend info. The current integrated providers only offer yield, or in the case on intrinio a daily limit i frequently exceed.

https://iextrading.com/developer/docs/#stocks

Request Additional Features

Your extension works great for Yahoo, Morningstar Key Ratios, and Financial Income Statement. Thank you!

I need to access the Morningstar Cash Flow & Balance Sheet reports in the Financial section, so I would like to request additional functions to access these two reports.

Thanks,
Rickey

Make Exchange an optional argument

Can the Exchange be made an optional argument? Ie. So if it is not provided, you can still run the user friendly exchange lookup function but if it is provided you can skip this step.

This will open up support for exchanges such as the London Stock Exchange where we can easily find the morning star exchange name online and add it to our spreadsheets.

"Request Denied" message for Yahoo quote

Up to today, the Yahoo formula give back a "Request denied" message as cell value/result.
Since Yahoo as granting "realtime" data (delay is 20mins), Yahoo financial data are much more useful than Morningstar ones (updated until the closing of the day before)
Any suggestions?
Thanks
J

Not working for me

Hi Madsailor, I just downloaded and installed SMF. I initially had an error in the extension manager but a google search brought the libreoffice-pyuno package to my attention. After installing it the install appears to have worked.

I next opened the yahooexamples.ods. It shows #VALUE! for every formula. Same for both Morningstar sample spreadsheets.

I've tried the extension on LibreOffice 4.1.6.2 on Fedora 19 and on OpenOffice 4.1.0 on Red Hat 6.5. Same results on both.

Any help troubleshooting would be appreciated.

XETRA (XETR)

First of all you did a great job with smf but is it possible to add XETRA to Morningstar?

cheers

Can't make any morningstar functions to work

I have Windows 7 64 bit + LibreOffice 4.4.1 and LibreOffice 4.3.6 installed. I tried both v6.4 and v6.3 of the sfm extension with both the Libreoffice version. In none of the case I was able to make the example Morningstar files. Yahoo works for all versions and I am able to update the data but all I see is NMS or NYQ in the data column

SMF cannot get Canadian stocks from Yahoo

Using the GETYAHOO function, I get N/A when I enter a Canadian stock, such as GETYAHOO("MG.TO",7). I tried using an underscore, still does not work.
Is this a bug or a future feature?

Works well for US stocks though..

Regards

Additional Feature Request

Your SMF extension works great for Yahoo, Morningstar Key Ratios, and Financial Income Statement. Thank your for creating this extension!

I have a need to access the data in the Morningstar Balance Sheet and Cash Flow sections of the Financial section, so I would like to request 2 additional functions within your extension to access this information. I believe these reports are available by using the "bs" and "cf" report codes similar to the "is" code for the Income Statement.

Thanks for this great extension!

Rickey

ERROR: unknown url type: https

Hey everyone,
Just 2 days ago, SMF started returning the following error in the =GETYAHOO(A4,9) framework : unknown url type: https

Did yahoo change their data structure?
How can we get this working again?

Thanks.
DM

Yahoo datasource URL has changed

WEB datasource URL has changed.
Was url = 'http://finance.yahoo.com/d/quotes.csv?s=%s&f=%s' % (ticker, stat)
Now url = 'http://download.finance.yahoo.com/d/quotes.csv?s=%s&f=%s' % (ticker, stat)

Noticed extension stopped working today, locally made the change above to the source and compiled. Appears to be working again. I'd submit changes but I barely figured out how to get it working.
Please verify, I might be in error, yet it's currently working.

Thank-you for writing the extension.

Did make attempt to update code, did a fork, again have no idea if that is correct procedure or not.

Does not work with LO 5.0.5

When I try to install it under Ubuntu 12.04 64 bit and
LibreOffice Version: 5.0.5.2
Build ID: 1:5.0.5rc2-0ubuntu1precise1
Locale: en-US (en_US.UTF-8)

I get:

(com.sun.star.uno.RuntimeException) { { Message = "<type 'exceptions.ImportError'>: No module named request (or 'urllib.request.Request' is unknown), traceback follows\X000a /usr/lib/python2.7/dist-packages/uno.py:338 in function uno_import() [raise uno_import_exc]\X000a /home/userid/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu20365me16r1.tmp/SMF.oxt/yahoo.py:17 in function () [from urllib.request import Request, urlopen]\X000a /usr/lib/python2.7/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, _optargs, *kwargs )]\X000a /home/userid/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu20365me16r1.tmp/SMF.oxt/smf.py:23 in function () [import yahoo]\X000a /usr/lib/libreoffice/program/pythonloader.py:103 in function getModuleFromUrl() [exec(codeobject, mod.dict)]\X000a /usr/lib/libreoffice/program/pythonloader.py:149 in function writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

If I try to "Enable" it, I get:

<type 'exceptions.ImportError'>: No module named request (or 'urllib.request.Request' is unknown), traceback follows
/usr/lib/python2.7/dist-packages/uno.py:338 in function uno_import() [raise uno_import_exc]
/home/userid/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu20365me16r1.tmp
/SMF.oxt/yahoo.py:17 in function () [from urllib.request import Request, urlopen]
/usr/lib/python2.7/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, _optargs, *kwargs )]
/home/userid/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu20365me16r1.tmp
/SMF.oxt/smf.py:23 in function () [import yahoo]
/usr/lib/libreoffice/program/pythonloader.py:103 in function getModuleFromUrl() [exec(codeobject, mod.dict)]
/usr/lib/libreoffice/program/pythonloader.py:149 in function writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]

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.