As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What is the most recommended free/public API for accessing financial market stats and stock quotes (preferrably real-time quotes)? I'm not too picky about how it's exposed (SOAP, REST, some proprietary XML setup, etc.), as long as it's got some decent documentation.
I'm planning to build a simple web dashboard in PHP with some basic data (basically a quick-n-dirty homepage), but may want to grow it into a full blown web app eventually. Any thoughts?
As I find some, I'll post a list here (feel free to comment if you've used any of them before):
Free
opentick (soprano) // link doesn't work
Not Free
XigniteRealTime
Yahoo's api provides a CSV dump:
Example: http://finance.yahoo.com/d/quotes.csv?s=msft&f=price
I'm not sure if it is documented or not, but this code sample should showcase all of the features (namely the stat types [parameter f in the query string]. I'm sure you can find documentation (official or not) if you search for it.
http://www.goldb.org/ystockquote.html
Edit
I found some unofficial documentation:
http://ilmusaham.wordpress.com/tag/stock-yahoo-data/
I usually find that ProgrammableWeb is a good place to go when looking for APIs.
Markit On Demand provides a set of free financial APIs for playing around with. Looks like there is a stock quote API, a stock ticker/company search and a charting API available. Look at http://dev.markitondemand.com
Last I looked -- a couple of years ago -- there wasn't an easy option and the "solution" (which I did not agree with) was screen-scraping a number of websites. It may be easier now but I would still be surprised to see something, well, useful.
The problem here is that the data is immensely valuable (and very expensive), so while defining a method of retrieving it would be easy, getting the trading venues to part with their data would be next to impossible. Some of the MTFs (currently) provide their data for free but I'm not sure how you would get it without paying someone else, like Reuters, for it.
I found the links and tips under this question to be helpful.
Some of the brokerage firms like TDAmeritrade have APIs you can use to get streaming data from their servers:
http://www.tdameritrade.com/tradingtools/partnertools/api_dev.html
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have some XML files that contain different function information. I am trying to create a tool that may extract that information from these files once they are created (function name, arguments number, type, returned values, etc.)
Later i will be manipulating these extracted information to create a new XML file. I have limited programming experience and it's all in C++. Any hint for the start would be appreciated.
If you just want to be able to read and write XML files, its probably just best to use an XML library rather than reinventing the wheel.
Since its not completely clear what you're trying to do, a good place to start would be this thread: What is the best open XML parser for C++? [Stack Overflow]
It's currently closed but it has a couple good answers that will help you figure out the best library to use for your situation.
If you need more help using it, feel free to edit your question, comment, or post a more specific question on the topic.
Happy coding and good luck!
I would suggest TinyXML, it's small, light-weight and suitable in many cases, it also has a non-viral license.
I used it a lot and it was very useful and ... just in case, there's also TinyXPath.
Unless you are doing this as a project to improve your C++ ability and understanding of XML, I would advise against trying to write the parsing code yourself. You will get much faster results using something out there that is already written and well established and there are a number of choices that are open to you. I personally like RapidXML. It is very simple to add to your code (you just need to #include one or two .hpp files - no libraries are needed) and it does everything that I have needed so far which is mainly parsing data from SOAP responses. The site also provides a comprehensive tutorial which enables you to get up and running very quickly.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Anyone know of a real-time currency rate webservice with frequent update (multiple pr. min.). Needed for a small android app I'm building, so needs to be free.
I would recommend European Central Bank. They provide a daily xml feed, nice and simple.
http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml
You can try Yahoo. It is free and easy to use.
For example, to convert from GBP to EUR: http://download.finance.yahoo.com/d/quotes.csv?s=GBPEUR=X&f=sl1d1t1ba&e=.csv
gives you data in csv format which can easily be parsed.
Have you tried with http://openexchangerates.org ?
You can use it's The Forever Free Plan with following features provided.
Hourly rate updates
Daily historical data
1,000 API requests per month
Real time financial services are usually not available for free. You will find a lot of delayed services ( tipically 15 min ) for free, but you have to make sure licensing allow you to use it in your own application as well.
you have some webs where you can take this information. The problem... usually you need pay for this service. Same examples :
http://www.xignite.com
http://fxtrade.oanda.co.uk/trade-forex/api/
http://forex-automatic-trading-systems.com/developers/api.htm
http://forexfeed.net/developer/php-forex-data-feed-api
I would suggest Mondor's web service, especially the WebAPI one. Not free, but could be about 5$ per year, depending from your architecture. Anyway, here's the link: http://mondor.org
Edit: apparently, they have free keys now, or I missed them previously.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there software that can help create flow charts, class diagrams etc to help software development planning.
Thanks
You can create all kinds of charts and diagrams with something like Microsoft Visio or the open-source Dia.
If you want to auto-generate things like this, take a look at using a UML-based tool. A list of some UML tools is available here.
As a open-source fan and contributor, I tried Dia on Ubuntu, but it was way too clumsy for what I needed to do. One thing I wanted to do was get raster or vector snapshots of fairly complex multi-page diagrams and put them in a wiki page, and Dia really couldn't cope with that - the fonts went all wonky and so on.
If you try Dia and find it doesn't work for you, and you have access to a Mac, try OmniGraffle. It's pretty slick.
I use Graphviz in conjunction with doxygen. Search for both on Stack Overflow, there are lots of tips,such as this page.
In particular, as a highly-iterative developer, I really like that the diagrams I create with Graphviz are stored in a simple textual fashion and so can be included in version control and diff nicely.
There's a very nice iPad/iPhone version of Graphviz called Instaviz which allows you to exchange diagrams with your desktop machine and tweak them on the pad.
We used Rational Rose in class to do that. It also does much more:
http://www-01.ibm.com/software/awdtools/developer/rose/
I use this Software Ideas Modeller, or rather, used to before everything was built into Visual Studio (Ultimate with the many plugins that are available for it).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm trying to set up a really basic e-commerce site with Django, and am trying to figure out the best place to start. I am relatively comfortable with the framework itself, but have never done any sort of e-commerce development in any language, so I want to learn about some best practices so I don't make any huge or obvious mistakes.
I've looked at Satchmo, and even went as far as installing and playing around with it, but it looks like way more than I want. I basically want to show users a list of things, and let them click a button to buy one. No cart, no shipping, just click a button, connect with Authorize.net (or something similar) to do the transaction, and then display a confirmation page.
Any suggestions or online tutorials people have found helpful? Even perhaps a tutorial in another language. Or maybe a really lightweight Django plugin that doesn't try to do everything like Satchmo? I've been coming up with very little so far.
Thanks!
I did some research recently that may be of interest. Basically, I think Satchless is the most promising right now.
I haven't used it, but Lightning Fast Shop is a Django-based alternative to Satchmo, which is supposed to be pretty lightweight and so might fit your needs a bit better.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I`m a beginner C++ programmer. And I want to pursue my career in system- and driver-programming.
Can you suggest me an opensource projects to I improve my skills in low-level development?
I am looking for a project with the following characteristic:
- on C\C++ language based
- a small project with a small amount of code, yet
- UNIX-based systems designed
Do you know that something like this?
Check the google summer of code projects page! These are all open source, and many of them are based on C/C++. Each project lists ideas that are aimed at outsiders / beginners.
Here is last year's page: http://code.google.com/soc/2008/ Google has not yet decided on which projects are participating this year, but this information will become available within the next couple of weeks (before the end of march 2009) along with a fresh list of ideas.
If you're a student in a College/University you can get lucky and even get mentoring through the GSOC project. But even if not, they will really value any contribution you can make.
Always work on open source projects that you actually use and care about. If you don't use the project yourself, why should you do good work on it?
What about Minix 3? It's a great way to learn about low level programming.
Start your own open source project.
Host it on Google Code
Make something does something great or makes something else easier to use
Use it and iterate it
Along the same lines as Sourceforge Help Wanted, there's a website called OpenHatch.org that lists bugs from open source projects that need attention as well as potential mentors. In particular, you can browse for bitesized bugs that might be a good place for a beginner to start.
Have you tried sourceforge's help wanted?
Edit: And as a personal suggestion, I'm not sure it fits your requirements, but the transmission bittorrent client needs an implementation of Kademlia DHT in C, which is pretty low level networking.