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.
Questions tagged [stockquotes]
289 questions
0
votes
1 answer
I need to get specifc information out of a dataframe but the attribute changes depending on what I am looking at
I am working on parsing stock data. below is the data i need but the attribute seems to change based on whatever stock i am looking at. is there a way to make 'AAPL' a variable here so that i can just input my symbol there or is there a better way…

Justin Malone
- 3
- 2
0
votes
2 answers
How to process a high speed stream of data that only requires the "last" value for a symbol in a database C#
I have have a high speed stream of stock prices coming from a vendor... maybe 5000 per second. (about 8000 different symbols)
I have a table (SymbolPrice) in my database that needs to be updated with the most recent last price.
I don't seem to be…

Brian Rice
- 3,107
- 1
- 35
- 53
0
votes
1 answer
Sync. stock data with that of live ones
I want to synchronize my app data ( stock ) with that of live ones . I am using Yahoo API .. Here is my code ..
// $companyInfo ; holds company information like symbol
foreach($companyInfo as $singleCompany)
{
…

anasanjaria
- 1,308
- 1
- 15
- 19
0
votes
2 answers
How can I display the current stock price in a UITableview cell in Xcode swift?
I have created a UITableview and added a few cells displaying the names of a couple of stocks(Apple, Tesla). I also added a right-detail text label to my cells in which I want to display the current stock price of the stocks. So far, using…

Rugved Kamat
- 13
- 5
0
votes
1 answer
Python 3.9.1 API call to Tiingo failing on certain tickers
Thank you in advanced for any insights you can offer to my current challenge. I am running Python 3.9.1 and the latest versions of PANDAS and TIINGO libraries.
The problem is a reliable API call has started failing for certain tickers. I assume…

Mailboxhead
- 23
- 5
0
votes
1 answer
Union of several DataFrames stored in the same variable
I have imported information about some stocks through a loop through the MetaTrader 5 module.
import MetaTrader5 as mt5
tickers = ['Apple', 'Amazon', 'Facebook', 'Microsoft']
results = {}
for ticker in tickers:
results[ticker] =…

4jano20
- 25
- 1
- 5
0
votes
2 answers
Download NSE 2021 data using Python
I'm facing issue to access such URL via Python code
https://www1.nseindia.com/content/historical/EQUITIES/2021/JAN/cm01JAN2021bhav.csv.zip
This was working for last 3 years until 31-Dec-2020. Seems that the site has implemented some…

g1p
- 3
- 1
- 3
0
votes
1 answer
python plug to stock data extraction
I am trying to create a script that extracts the current price information for a list of stocks/ETFs at regular intervals via python programming.
Is there a way to do this or related libraries available?
The idea is to extract the prices of a list…

thentangler
- 1,048
- 2
- 12
- 38
0
votes
0 answers
KeyError: Addressing by indexes that are timestamps in Pandas
I'm collecting intraday 1-minute stock data from iexcloud using the API. I load the data into a pandas dataframe and then I am trying to grab a specific row of data for a specific day and minute during the day. I originally tried inputting in the…

Prospero
- 109
- 1
- 11
0
votes
1 answer
How to get a specific part from my output of python
I have been trying to get a specific part in output but unable to do so.
The code snippet that I am using in order to achieve the same is as follows :
from nsetools import Nse
nse = Nse()
print (nse)
q1 = nse.get_quote('canbk') # it's ok to use both…

Ankush Chabbra
- 13
- 3
0
votes
1 answer
Consecutive Positive or Negative calculation from data frame and filter results using R
I have the following dataset and looking to write a code that can help pull out which stocks have been positive or negative consecutively. The data would have first 3 column. last 2 columns are manually calculated in excel to depict expected…

A.B.
- 83
- 1
- 8
0
votes
2 answers
Selecting columns from a dataframe
I have a dataframe of monthly returns for 1,000 stocks with ids as column names.
monthly returns
I need to select only the columns that match the values in another dataframe which includes the ids I want.
permno list
I'm sure this is really quite…

Rob Roy
- 1
- 2
0
votes
2 answers
Iterate and If value in dictionary A is larger than dictionary B then put in dictionary C?
This code gets the current price of a stock and its current 21-day EMA.
import yfinance as yf
import numpy as np
import bs4
import stockquotes
import pandas as pd
symbol_name = ['F', 'XOM']
symbol_data = {}
for symbol in symbol_name:
ticker =…

Cameron Rosenbaum
- 73
- 6
0
votes
0 answers
__scrape__ dynamic data behind a chart using R
Is there a way in R which i can extract historical stocks quotes behind a chart based on that historical data from this web site :
https://www.egx.com.eg/en/stocksdata.aspx?ISIN=EGS60322C012
I tried my best with figure out the headers and query from…

BatmanFan
- 105
- 5
0
votes
1 answer
how to get multiple stock quote with symbol in python
I want to get NSE stocks only.
I m using to get multiple stocks quotes with a symbol in python.
code:
from nsetools import Nse
nse = Nse()
def get_current(stock):
return nse.get_quote(stock)
for i in stocks:
data =…

Sandeep Sharma
- 639
- 2
- 9
- 34