Questions tagged [stocks]

313 questions
244
votes
18 answers

source of historical stock data

I'm trying to make a stock market simulator (perhaps eventually growing into a predicting AI), but I'm having trouble finding data to use. I'm looking for a (hopefully free) source of historical stock market data. Ideally, it would be a very…
rmeador
  • 25,504
  • 18
  • 62
  • 103
111
votes
9 answers

How to get a complete list of ticker symbols from Yahoo Finance?

I've googled endlessly for a method of getting a complete (and daily updated) list of all Yahoo ticker symbols available through http://finance.yahoo.com Yahoo has information for stocks, futures etc for a lot of exchanges worldwide, and I'd like a…
rassom
  • 2,896
  • 5
  • 34
  • 45
104
votes
11 answers

Stock ticker symbol lookup API

Is there any sort of API that just offers a simple symbol lookup service? i.e., input a company name and it will tell you the ticker symbol? I've tried just screen-scraping Google Finance, but after a little while it rate limits you and you have to…
dancavallaro
  • 13,109
  • 8
  • 37
  • 33
39
votes
3 answers

Database schema for organizing historical stock data

I'm creating a database schema for storing historical stock data. I currently have a schema as show below. My requirements are to store "bar data" (date, open, high, low, close volume) for multiple stock symbols. Each symbol might also have…
nall
  • 15,899
  • 4
  • 61
  • 65
32
votes
10 answers

Finding the min max of a stock chart

Are there any specific algorithms that will allow me to find the min and max points in the picture above? I have data in text format so I don't need to find it in the picture. The problem with stocks is that they have so many local mins and maxes…
SamFisher83
  • 3,937
  • 9
  • 39
  • 52
27
votes
7 answers

import from CSV into Ruby array, with 1st field as hash key, then lookup a field's value given header row

Maybe somebody can help me. Starting with a CSV file like so: Ticker,"Price","Market Cap" ZUMZ,30.00,933.90 XTEX,16.02,811.57 AAC,9.83,80.02 I manage to read them into an array: require 'csv' tickers = CSV.read("stocks.csv", {:headers => true,…
Marcos
  • 4,796
  • 5
  • 40
  • 64
27
votes
11 answers

Getting real-time market/stock quotes in C#/Java

I would like to make an program that acts like a big filter for stocks. To do so, I need to have real-time (or delayed) quotes from the market. I started getting stock quotes by requesting pages from yahoo, accordingand parsing the html to the…
David Menard
  • 2,261
  • 3
  • 43
  • 67
21
votes
4 answers

What data source could I use for my stock market program?

I would like to make a free open-source C++ application for both Linux and Windows which will create live stock market charts (i.e. they're refreshed frequently). Please could you give me some pointers on these issues: What should I use as the data…
Nick Bolton
  • 38,276
  • 70
  • 174
  • 242
21
votes
8 answers

Java or Python for math?

I'm trying to write a pretty heavy duty math-based project, which will parse through about 100MB+ data several times a day, so, I need a fast language that's pretty easy to use. I would have gone with C, but, getting a large project done in C is…
Dhaivat Pandya
  • 219
  • 1
  • 2
  • 4
20
votes
24 answers

Find buy/sell prices in array of stock values to maximize positive difference

Got this question in an interview today, and its optimized solution stopped me cold (which blows, because I really wanted to work for this company...) Given a single array of real values, each of which represents the stock value of a company after…
Magsol
  • 4,640
  • 11
  • 46
  • 68
14
votes
5 answers

Charting widget for GTK or Qt

Is there a widget for GTK or Qt that would allow me to draw stock charts like this? http://smartquant.com/openquant/openquant_chart.jpg (copy&paste the URL due to hotlinking restriction) Thanks, Joel
Joel Reymont
  • 861
  • 2
  • 7
  • 16
14
votes
9 answers

Display stocks data from Google Finance or Yahoo! Finance

Can I use the Google Finance API to get stock data? If there is a Flash or Javascript viewer for such stocks data it would be good. I found some chart components that could be used for the same: amCharts Open Flash Chart
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
14
votes
1 answer

Get free historic stock market/exchange data (e.g. S&P 500, NYSE)?

I am developing an application that relies on stock market information. For the moment, I use Yahoo Finance CSV API. Unfortnautely OpenTick stopped its service, Google Finance API will soon, too. I have a list of stock symbols I am interested in…
Gnark
  • 4,080
  • 7
  • 33
  • 44
12
votes
3 answers

Is there an API for searching Stock Symbols based on Company Names?

This is a similar question to Stock ticker symbol lookup API however that was never answered to the standard I think is needed for a commercial application. The problem is this: Given a company name, partial name, or stock symbol, return a list of…
danpalmer
  • 2,163
  • 4
  • 24
  • 41
12
votes
4 answers

Yahoo Finance API stock/ticker lookup only allowing exact match

Until yesterday a query such as this http://autoc.finance.yahoo.com/autoc?query=a&callback=YAHOO.Finance.SymbolSuggest.ssCallback yielded a long list of fuzzy/broadmatch results for both ticker and company name. Since today you are a.) required to…
jco40
  • 297
  • 3
  • 9
1
2 3
20 21