Questions tagged [stockquotes]

The price of a stock as quoted by an exchange at a given time. May include additional information such as the latest bid price and bid lots, and/or ask price and ask lots.

289 questions
1
vote
4 answers

is there any way by which i can get stock quotes real time just as Google or Yahoo does?

does anyone know how Google or Yahoo get the stock quotes as NASDAQ or NYSE is not providing any APIs? Can we actually replicate what they do? are they using the crawl method itself or rather is crawling actually possible to get such data realtime?
Mahesh M
  • 1,219
  • 10
  • 18
1
vote
1 answer

Adjusting for Stock Splits in R Error?

I have an intraday dataset with closing prices that I want to adjust stock prices for stock splits. I have found the adjustOHLC() from the quantmod package to work almost effectively. Here is one of the many UNADJUSTED tickers in my dataset called:…
Rime
  • 912
  • 2
  • 11
  • 39
1
vote
1 answer

AmiBroker AFL code - Shorts not firing

I am replicating some code that I wrote in C# in AmiBroker (I'm new to AFL). This code triggers the Longs, but never fires a short. The price data has plenty of shorts (proved by C# code). What am I missing? Shorts are essentially the reverse of…
Dave Tapson
  • 810
  • 1
  • 9
  • 22
1
vote
4 answers

How can I get Yahoo realtime stock quotes in Perl?

There's a fairly easy way of retrieving 15-minute delayed quotes off of Yahoo! Finance web site ("quotes.csv" API). However, so far I was unable to find any info on how to access real-time quotes. The hang-ups with real-time quotes are: Only…
DVK
  • 126,886
  • 32
  • 213
  • 327
1
vote
1 answer

python 3 web scraping code for yahoo finance stock

Here is the code for Python 3 for web scraping Yahoo finance stock price of AAPL. import urllib.request from bs4 import BeautifulSoup as bs4 htmlfile = urllib.request.urlopen("http://finance.yahoo.com/q?s=AAPL") htmltext = htmlfile.read() for…
L.fole
  • 687
  • 3
  • 12
  • 19
1
vote
2 answers

Jsoup Stock Quote Scraping Yahoo Finance

Using OracleSQL and Java I have a "TickerSymbol Database" and a "Stockquote Database". Selecting TickerSymbols from "GOOG","APPL","FB", and "AMZN" from the "TickerSymbolDatabase" and circulating the ticker symbols at the end of YahooFinance…
user3003451
  • 409
  • 2
  • 9
  • 12
1
vote
3 answers

Stock quote gem - retrieval for nonexistent ticker yields nomethod error

I am using the "stock quote" gem (https://github.com/tyrauber/stock_quote) to retrieve stock prices based on user input tickers. While I have a ticker list that is up-to-date, there are some circumstances where the search yields no results. I have…
1
vote
3 answers

Python: Excel is being fed real-time stock prices. How to append prices every 10 min to csv?

Here is my python script: from xlrd import open_workbook from xlrd import xldate_as_tuple book = open_workbook('C:/Users/.......Constantquotes.xlsx') sheet0 = book.sheet_by_index(0) #Initializes the first row print sheet0.row(0) …
1
vote
2 answers

Getting live stock data for homepage

I want to create a homepage that shows live stock charts. I also want to install a screener function for some indicators. Therefore I need to have live stock data of about some thousand companies. The data I want to obtain should be received in a…
sami_analyst
  • 1,751
  • 5
  • 24
  • 43
1
vote
1 answer

Yahoo finance api for real time quotes

I'm implementing a mobile finance app using phonegap. For this I need a real time quotes. After googling for a while I come to know that Yahoo provides real time stock quotes. So I created a 30 days trial account by using this link. Now I don't know…
Madhu
  • 55
  • 1
  • 5
1
vote
2 answers

R Sorting Data Frame by Date

I'm working on a R data.frame which is made of stocks'dividends per year (I've got 60 stocks in columns and the usual calendar in rows). When a dividend is paid, I've got the figure and otherwise there is a NA. Basically , here is how my Data.frame…
marino89
  • 899
  • 1
  • 10
  • 16
1
vote
2 answers

Downloading Stock quotes to App

I'm new to iOS programming and want to display stock quotes and stock details in the iPad app I'm designing. I am looking at two options Im looking at google finance or yahoo finance. How would I go about sending a url request to their sites and…
Ashmanq
  • 29
  • 1
  • 4
0
votes
1 answer

ohlc chart in JFreeChart

I'm currently working on a financial alerts application , and for the client interface I've decided to use JFreeChart. However as I'm new to it ,there are some important things that I can't figure about the ohlc charts : -I'd like to be able to put…
rantravee
0
votes
1 answer

Open Source Fill Engine

I'm looking for a Java fill-engine to perform back-testing. The fill engine would be fed either tick-data or L2 data (with book) and would fill orders as if it was a real-market account. Ideally would be able to handle via config file: - latency (to…
Frankie
  • 24,627
  • 10
  • 79
  • 121
0
votes
1 answer

Alternative to quantmod for bid/ask info

Previously I used this to get closing bid/ask prices: library("quantmod") getQuote(Symbols = symbols, src = "yahoo", what=yahooQF(c("Bid","Ask", "Volume"))) Now I get the error: Error in .yahooSession(TRUE) : unable to get…
ixodid
  • 2,180
  • 1
  • 19
  • 46