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
0 answers

Value Error due to Numpy returning an object

I'm trying to make the following code piece at the end run. However, i'm getting the following error when i try to fit my model: "ValueError: setting an array element with a sequence." I'm trying to use a RNN to predict the next 5 days of prices.…
Rohit Kar
  • 35
  • 4
1
vote
4 answers

Matplotlib and Numpy Math

I'm trying get some traction with Matplotlib and Numpy but it is not very easy. I'm doing a mini project to start dealing with Matplotlib and Numpy but I'm stuck... Here is the code: # Modules import datetime import numpy as np import…
André
  • 24,706
  • 43
  • 121
  • 178
1
vote
1 answer

GOOGLEFINANCE function - specific instrument returning #N/A

I am trying to use the google finance function within Google Sheets to return the share price for Vital Healthcare Property Trust which is listed on the New Zealand stock exchange. Here is the instrument in question:…
1
vote
0 answers

Decrypt/convert stock quotes

I am trying to get stock quotes from the webpage “plus500.com”. The values are provided in json and I am able to get the data into excel. But I do not know how to encrypt or convert the provided information. I tried to decrypt the values with base64…
A_l_e_x
  • 11
  • 2
1
vote
2 answers

customizing URLs in R

I am a day trader based in INDIA. I am using R to do my research. I want to download the End of the Day(EOD) stock prices for different stocks. I was using Quandl and quantmod but was not satisfied with them ( they are OK for historical data but not…
1
vote
1 answer

Yahoo finance Api not returning values

I was using yahoo finance api to get the stock quotes and display the contents on my site. All of a sudden from 7/november/2017 this stopped working. The url i used to get the stock quotes is…
1
vote
0 answers

Python - AttributeError: 'Stock_Analysis' object has no attribute 'stock_data'

After mainly working with functional programming in the past - I wanted to start using OOP, classes more often, as I am planning to share and collaborate more with others. Can you help me on the following problem: #! /usr/bin/python3 # -*- coding:…
JsDotPy
  • 11
  • 2
1
vote
1 answer

How to get historical stock data between two dates?

Im trying to get historical data for Apple from google finance. but the start and end time is always the same. in google-finance module sending a get request with these params to http://www.google.com/finance/historical should result in historical…
Veto
  • 165
  • 1
  • 2
  • 7
1
vote
1 answer

Stock Quote - Google Finance (changes after 6th Sept 2017)

I'm having issues getting my stock quote to work since Google did some changes at their end. I have read the information on this link google finance json stock quote stopped working but it didn't help. The earlier URL to fetch information was…
RLM
  • 21
  • 2
1
vote
4 answers

How to format a list of dictionaries from CSV? - Python

I have a CSV file of stock price data that I would like to put into a dictionary containing the Date and Close price. Here is what the CSV looks like: date close volume open high low 2017/09/22 151.89 46575410 152.02 152.27 …
jblew
  • 274
  • 1
  • 8
  • 21
1
vote
1 answer

How to find stock turning price points

Let me know how to find turning price points in stock data in SQL. for example we have following data columns and N rows: Date |Price| 20150101 | 100 | 20150102 | 50 | 20150103 | 80 | . . . 201708027 | 200 | and I want to…
MahdiIBM
  • 55
  • 7
1
vote
0 answers

How can I fetch stock price at a given time on a certain date?

I've found a lot of historical price APIs for fetching stock price for a given date. But haven't been successful in finding any API to provide price at certain time on a given date. Like price of GOOG on 08/02/2017 at 3:55PM - How do I find this?
Vamshi Vangapally
  • 1,972
  • 6
  • 21
  • 25
1
vote
1 answer

Downloading stock data from www.alphavantage.co into excel

since the change from yahoo finance to not support automatic downloading anymore, I checked other sources and www.alphavantage.co seems to fit my requirements. However, the data does not arrive in excel. Did anyone out there programmed it already?…
Jan Abraham
  • 11
  • 1
  • 2
1
vote
1 answer

Adapting a streamgraph to a stock portfolio visualization using d3 js

This project is based on Bostock's streamgraph. I am looking to make it a stock portfolio visualizer. I can get my javascript to run through all of my stock tickers (stored in the symbols.csv) and print the current prices for each. I'm not sure how…
1
vote
1 answer

automatically import values from external source, and use them for calculations

I'd like to have a system in place which automatically imports financial stock values from an external source to my own site, after which I can make an alghoritm with javascript which makes calculations. But I don't know how I can import data from…