Questions tagged [stocks]

313 questions
0
votes
0 answers

Sort stock price volatility data into deciles on a monthly rolling basis and calculate the return on outcoming portfolios

As the title suggests I am doing some research about low volatility stocks for my Bachelor thesis. I compiled the stock price quotes of German listed companies for 15 year and my goal is to build deciles of the stocks based on the volatility of…
Jonaslux
  • 37
  • 4
0
votes
1 answer

Finding the Symbols for Companies in a Body of Text

I am currently working in Python and I am trying to do some language processing on finance articles. However, every way I know of for querying information about a stock is via its ticker. So, my question is, do you know of a way to look up stock…
Dylan Siegler
  • 742
  • 8
  • 23
0
votes
1 answer

Find running minimum and Max in R

I have a vector of stock prices throughout the day: > head(bidStock) [,1] [1,] 1179.754 [2,] 1178.000 [3,] 1178.438 [4,] 1178.367 [5,] 1178.830 [6,] 1178.830 I want to find two things. As I the algorithm goes through the day. I want it to…
Prince Aly
  • 13
  • 7
0
votes
1 answer

Get live market quotes on global indices

I need to connect to some sort of web service and get live data regarding global indices ( the DOW index, the S&P/TSX in Canada, the Hang Seng index in Hong Kong and so on ). I need to display this data on my website. I was wondering whether any…
0
votes
1 answer

How to create a new list each time I iterate through a different list, giving the new list a name that contains the element from the original list?

I am trying to create a function that calculates specific daily returns (i.e. 1,2,5,10 and 30-day returns). I would like to create a different list that has the appropriate name (i.e. one_day_return_list) which contains the returns for that given…
DK1
  • 3
  • 2
0
votes
1 answer

Python stock scraping script not pulling back pricing data?

So I've been working on a simple script that pulls stock symbols from a .txt file in the projects main directory and I just can't seem for it to bring back the pricing data. It works if I manually input them into a string array but when it comes to…
Recypher
  • 33
  • 4
0
votes
2 answers

Excel vba - yahoo stock options quotes not being downloaded in a csv format

I am able to get a single option quote from yahoo.finance with the data being delivered vertically over two columns (one headers, one data), but all my attempts to receive the data horizontally has been unsuccessful. I'm ultimately trying to…
0
votes
1 answer

Repeating Stock Ticker Tool From Access Table

I'm attempting to merge two scripts to accomplish the following. Run a http address to obtain stock data, based off a list of tickers on a table in my dB and save as a text file named as the ticker symbol. Have the process loop until the list has…
SanLuka
  • 125
  • 2
  • 13
0
votes
1 answer

get the top 30 gainer stocks from YQL

I am stuck with figuring out how to get the top 30 stock gainers using YQL with yahoo. I understand how YQL works, but is there a LIMIT clause or SELECT TOP 30 feature in YQL? I know if there is a way to do that it would solve the issue, but…
0
votes
2 answers

Amibroker: Convert date number from datenum() to string

The amibroker function datenum() returns an array with dates represented in numbers. How to convert this array into the string equivalent? DateNum I have this function below which almost accomplishes this task except that only year 2000 and after is…
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
0
votes
1 answer

Web Scraping Yahoo Finance in R (with R Vest)

I am trying to use R vest to webscrape the NASDAQ closing dates for the last 3 months so I can play around with the data. Problem being I cant seem to find the correct xpath for it to return the table. I've tried quite a few using chrome's 'inspect…
bpheazye
  • 146
  • 1
  • 16
0
votes
0 answers

stockPortfolio - subscript out of bounds

I am trying to get the return data for few stocks using getReturns function in stockPortfolio package. When I used the following code: library(stockPortfolio) stocks <- c("GODFRYPHL.NS", "ITC.NS", "VSTIND.NS", "BANARISUG.NS", "ASSAMCO.NS",…
Abhay Bhadani
  • 119
  • 1
  • 3
  • 13
0
votes
2 answers

Stock purchases and stock quote data

I apologize for being rather vague here, but I'm working on a project involving stock data and stock purchases. I'm sure I'm going to end up having to get a broker involved, but I was wondering if anyone knows of any documentation on the underlying…
sgrif
  • 3,702
  • 24
  • 30
0
votes
1 answer

Read Omnesys NEST streaming data using API

The task is related to Share market. Currently Omnesys NEST trading terminal provides streaming data for NSE and MCX and so. They also provide an option to link the live share streaming data to EXCEL sheet, and the the market changes are updating…
0
votes
2 answers

Error: main loop can only concatenate tuple (not "str") to tuple

Basically trying to modify the this tutorial for Currency's instead of stocks: http://pythonprogramming.net/advanced-matplotlib-graphing-charting-tutorial/ with my current code I get: Error: main loop can only concatenate tuple (not "str") to…
LibertySIlver
  • 41
  • 1
  • 8