Questions tagged [stocks]

313 questions
0
votes
1 answer

Stocks: BASH incantation to poll Yahoo! during trading hours

This is my current command to poll Yahoo! every two minutes for various stock prices and stick them on my old PowerBook's root window using the GeekTool pref pane...Apple for example: echo 'AAPL: '; curl -s…
CT Hildreth
  • 205
  • 1
  • 2
  • 8
0
votes
0 answers

Calculate monthly returns with daily data for 100 stocks Matlab

I am working with daily returns of 100 stocks from 1970 to 2012. The thing is that I want to calculate the monthly return of each stock in every year . The data I have is a cell array 1x100 stocks, and for each stock cell I have another cell array…
0
votes
1 answer

getting stocks on hand from two dependent tables and join the result to another table

I have a problem with regards to the stated title. I want to get the stocks_on_hand from these two tables, namely: stocks_added product_id quantity_added ANK001 50 stocks_released product_id quantity_released ANK001 20 after getting…
jaegyo23
  • 23
  • 1
  • 12
0
votes
1 answer

Calculate MACD and RSI in grails

I'm trying to calculate MACD and RSI formula in groovy. Regarding MACD, I've calculated up to MACD line but not able to calculate Signal line. Also does anyone have idea how to calculate RSI in groovy ? I know the RSI formula, RSI = 100 - 100/(1+RS)…
jdev1
  • 141
  • 2
  • 14
0
votes
1 answer

Getting international stock data using yahoo finance

Stock data can be optained using YQL queries like this: select * from yahoo.finance.quote where symbol in ("YHOO","AAPL","GOOG","MSFT") I have to present in a javascript meetup where I will show some stuff to the dynamically updating stocks data…
bits
  • 8,110
  • 8
  • 46
  • 55
0
votes
3 answers

Problem with Stock Quote from Google Finance

Below is the example I got from google finance for a stock quote. But it doesnt seem to be working. Stock price isnt displayed. Thanks Hello world! Here is your portfolio:
GOOG: (
kjkjl
  • 147
  • 1
  • 8
0
votes
0 answers

Downloading Intra-Day Data From StockRageous... without link

I am wondering if it is possible to download Intra-day data using R from the following link: < http://www.stockrageous.com/charting.jsp?Symbol=NFLX > The problem is that in order to do so one must manually go to the Data tab and then select the…
Jason
  • 311
  • 1
  • 4
  • 14
0
votes
7 answers

put stockprices into groups when they are within 0.5% of each other

Thanks for the answers, I have not used StackOverflow before so I was suprised by the number of answers and the speed of them - its fantastic. I have not been through the answers properly yet, but thought I should add some information to the problem…
mark
  • 3
  • 2
0
votes
2 answers

Break Even Formula in Python

I was writing a formula in python to help me easily calculate the break even formula when trading stocks. The formula is to calculate the break even point is: ((shares x price)+commission)/(shares) So for my python code I wrote: shares =…
ng150716
  • 2,195
  • 5
  • 40
  • 61
0
votes
1 answer

accessing html elements of ASX website dividend table using excel vba

I am trying to download divident data from ASX! I need to know how to loop through each row in the table and each td (data element) in that table to print the innertext to the excel worksheet. Here is my code.... using this as a guide VBA excel For…
yoshiserry
  • 20,175
  • 35
  • 77
  • 104
0
votes
1 answer

iOS App Development with SEC Edgar/Xbrl Integration

I am working on building an iOS app in Objective-C that requires data to be pulled from the SEC's Edgar Filings database. How can I integrate a search field into my code that would call on a specific company's financial statement information to…
de3z1e
  • 411
  • 4
  • 8
0
votes
2 answers

Python's .strip() doesnt save outside of if statement?

I have scrapy pulling data from a web page. An issue Ive run across is it pulls alot of whitespace and Ive elected to use .strip() as suggested by others. Ive run into an issue though if a.strip(): print a if b.strip(): print…
Alcaeus
  • 145
  • 3
  • 13
0
votes
1 answer

How to scan inactive/delisted stocks using Auto Analysis in Amibroker?

I would like to know all stock symbols that are no longer being traded for the last 1 year. How can I do this using AFL code via Amibroker's Auto Analysis/Scan tool?
IMB
  • 15,163
  • 19
  • 82
  • 140
0
votes
1 answer

Interactive brokers getavailable margin Java

I've been stuggling to figure out from Interactive Brokers' documentation how to query for account details such as available margin, available funds etc. I tried to follow through their example and tbh got a bit lost; I can't identify exactly how to…
SQLseeker
  • 45
  • 5
0
votes
1 answer

Inputting stock tickers into Pandas and producing a table of returns

Complete beginner here. I'm trying to write a program in Python which takes a user input and plugs it into a Panda block of code to produce a table of stock prices in a date range. So far, my input block looks like this: StockCount = input ('Input…
user2373506
  • 45
  • 2
  • 4