Questions tagged [stocks]
313 questions
0
votes
1 answer
Backtesting a Universe of Stocks
I would like to develop a trend following strategy via back-testing a universe of stocks; lets just say all NYSE or S&P500 equities. I am asking this question today because I am unsure how to handle the storage/organization of the massive amounts of…

Brandon G
- 47
- 7
0
votes
2 answers
how to calculate trendline for stock charts
I have read the topic: How do I calculate a trendline for a graph?
What I am looking for though is how to find the line that touches the outer extreme points of a graph. The intended use is calculation of support, resistance lines for stock charts.…

joe
- 1
- 1
- 1
0
votes
1 answer
pandas nested loops out of range of list
I am starting with a list called returnlist:
len(returnlist)
9
returnlist[0]
AAPL AMZN BAC GE GM GOOG GS SNP XOM
Date
2012-01-09 60.247143 178.559998 6.27 18.860001 22.840000 309.218842…

hmmmbob
- 1,167
- 5
- 19
- 33
0
votes
1 answer
Web scraping CNN data
I have a question- does CNN permit you to scrape data if it's for your own personal use? for instance, if i wanted to write a quick program that would scrape the price of a certain stock, can i scrape CNN money?
I've just started learning python so…

John
- 11
- 2
0
votes
1 answer
Stock splits performance R
I need to evaluate the post split stock performance with the quantmod package in R for NYSE,AMEX,NASDAQ. My problem is that I'm only able to look up specific symbols ( getSymbols()), but I need to separate my data into non splitting firms and…

Shuzo
- 31
- 1
- 1
- 5
0
votes
1 answer
Creating Real-Time Stock Quotes Using C#
I'm creating a realtime stock quotes application that uses the IEX API (https://iextrading.com/developer/docs/) to get real time infomration. I'm wondering if there is a better way to poll this URL than what I currently have.
string[] Symbols = {…

BeLEEver
- 251
- 4
- 11
0
votes
0 answers
RVest too slow, trying to optimize for pulling stock indicators
In my first post, I would like to share my pet project. I am in the process of making a machine learning algorithm that can assign buy/sell/hold positions to securities. The first step of this project is to build the dataframe that contains the…

SoloMatt
- 13
- 2
0
votes
2 answers
Python, Getting stock data on particular days
I'm looking into getting data from the American stock exchanges for some python code, Basically what I need to do is import a stock name and previous date in time and it will give me all the data for the next 10 days of the market being open, Is…

HidingLobster
- 1
- 1
0
votes
0 answers
TimeSeries - Seasonal Charting Analysis
Date Open High Low Close Volume
1993-01-29 27.14 27.14 27.00 27.12 1625280
1993-02-01 27.14 27.31 27.14 27.31 778338
1993-02-02 27.29 27.39 27.23 27.37 325941
Hi,
I have this timeseries from the S&P500 index (daily…

Steoli
- 9
- 2
0
votes
0 answers
JSON Syntax Data Formatting
I am wondering if the attached image that represents how JSON data is returned from a stock market API is improperly formatted JSON data.
Here is a link to the API call that the image pictorially represents:…

Marshall Hawley
- 69
- 4
0
votes
0 answers
Why does getSymbols.tiingo return error - RStudio
I'm trying to download 120 S&P 500 stock data using getSymbols.tiingo from quantmod but it returned Error: without any explanations. When I merge it based on the close price, I get 66 stocks in the data frame. Does anyone know what the problem is?
…

T-T
- 693
- 1
- 10
- 24
0
votes
2 answers
Reasonable stock price information for commerical site (not alpha vantage or quandl)?
The previous threads about stock price information seems to be very old on SO and the answers there mainly seems to be alpha vantage which i cant use for my situation (I have tried it and communicated with them but they dont provide the data the way…

exceed
- 459
- 7
- 19
0
votes
1 answer
yahoo_quote_download doesn't return a pandas DataFrame or a CSV file
I am using the yahoo_quote_download library to get some data from yahoo finance as either a pandas DataFrame or a csv file that I can then make into a DataFrame. However, when I use yqd.load_yahoo_quote(ticker, start_date, end_date), it returns a…

AlgorithmsForDays
- 23
- 6
0
votes
1 answer