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
0
votes
1 answer

Filter numpy array of tuples

Scikit-learn library have a brilliant example of data clustering - stock market structure. It works fine within US stocks. But when one adds tickers from other markets, numpy's error appear that arrays shoud have the same size - this is true, for…
Maxim Korobov
  • 2,574
  • 1
  • 26
  • 44
0
votes
1 answer

R - Bin stock trade data by second, VWAP trade but clump volume

Not a duplicate of: Binning Dates in R or Binning time data in R Context I am using getMultipleTicks in Rblpapi to pull tick data for a stock (TSLA in this example) over a month: rawData = getMultipleTicks("tsla us equity", eventType = "TRADE",…
Robert Tan
  • 634
  • 1
  • 8
  • 21
0
votes
1 answer

Historical US dollar to euro conversion

In a program, I use the following procedure to convert EUR in DOLLAR or vice-versa. In general, this procedure works fine with whatever currency. public double getRate(String from, String to) { BufferedReader reader = null; try { …
Salvatore D'angelo
  • 1,019
  • 3
  • 14
  • 39
0
votes
2 answers

quantmod `getSymbols.yahoo` uses incorrect date (month number) and creating invalid URL

I am trying to download data of the symbol MACQ by applying the following code: getSymbols.yahoo("MACQ",.GlobalEnv,from="2010-02-02",to="2016-12-28") However, I am getting error warning: Error in download.file(paste(yahoo.URL, "s=", Symbols.name,…
Pat Amat
  • 23
  • 7
0
votes
1 answer

How to get realtime stock market quotes through an http request without flooding/hitting request limit (Algotrading)

I made a simple program that uses the Google Finance API to grab stock data through HTTP requests and does some calculations on them. The google-api looks like this(adds a new block of data every minute during trading…
brzei
  • 1
  • 2
0
votes
1 answer

Stock price data refresh

I am very new and I am getting totally stuck with recent task. I want to autorefresh stock price automatically as it is changing. I am scrapping nasdaq.com website for actual intraday price. I have a recent code: import bs4 as bs import…
jjj
  • 35
  • 1
  • 8
0
votes
1 answer

Parsing Fidelity Stock Quote page

I have been able to obtain stock and index data from Fidelity by setting up a connection to the relevant Fidelity page; writing the results to a worksheet; and then finding the results I want on that sheet. I am now trying to simplify and avoid…
Ron Rosenfeld
  • 53,870
  • 7
  • 28
  • 60
0
votes
1 answer

Getting Yahoo Biz Industry Market Summary Stock Info

I am using this code to get Stock Info for a Symbol which is working for me! var symbol = "AAPL"; var url = 'http://query.yahooapis.com/v1/public/yql?q=select%20' + symbol +…
Behseini
  • 6,066
  • 23
  • 78
  • 125
0
votes
0 answers

Quantopian Python Program BETA Calculation Error

In the service Quantopian, I program in Python to find the BETA of a given stock, then filter out stocks with BETAs greater than 3. I find the BETA by taking the covariance of the historical average of the asset to the index, then dividing by the…
tdh
  • 884
  • 1
  • 11
  • 22
0
votes
1 answer

Parallel request historical options chain prices / Last known price in IBrokers (R)

I am trying to create Current Options Chain (options per strike, per expiration) for a ticker. library(IBrokers) tws <- twsConnect() # Lets say only Call prices AA <- reqContractDetails(tws, twsOption(local="", right="C",…
Jav
  • 2,203
  • 13
  • 22
0
votes
0 answers

Stock market to LSTM

I have completed the code that predict stock market with LSTM neural network. I have a problem in giving and receiving data from a neural network. I have minibatch, each minibatch have two arrays: the input price, and output ideal. Under the input…
AshFTW
  • 141
  • 3
  • 12
0
votes
1 answer

Generate average day price for stock via Python Module

Is there a module that would give me the average (or high) stock price for any given day on any stock symbol? Example: module.get_price('google','some date') result: 532.40 I've tried ystockquote but they only give range values and the interface is…
John Galt
  • 487
  • 1
  • 5
  • 11
0
votes
1 answer

Appending Vertical Data into a Horizontal Table in Access

I'm attempting to take stock data pulled from Google and create tables for each ticker to record historical market data in Access. I am able to easily import the delimited text data into Access, the problem is, I am pulling multiple tickers in one…
SanLuka
  • 125
  • 2
  • 13
0
votes
1 answer

Chartkick and groupdate gems are show only one point at graph, graph should be several lines

I create ruby on rails app to show stock value for some companies at some time period. I use next gems: chartkick, groupdate and stock_quote My Shema.db: create_table "companies", force: :cascade do |t| t.string "symbol" t.datetime…
Evgeny Palguev
  • 599
  • 3
  • 18
0
votes
2 answers

Stock SYMBOL by company name? Yahoo callback doesn't seem to work anymore

I was trying to get the stock Symbol (ticker) once I know the company name. I read quite a few questions here and all of them seemed to suggest that we could use this URL…
mickael
  • 2,033
  • 7
  • 25
  • 38