C# How can I check if a URL exists/is valid?

I am making a simple program in visual c# 2005 that looks up a stock symbol on Yahoo! Finance, downloads the historical data, and then plots the price history for the specified ticker symbol. I...

Sending WCF messages being delayed under load

When sending messages from a self hosted WCF service to many clients (about 10 or so), sometimes messages are being delayed significantly longer than I'd expect (several seconds to send to a...

Find buy/sell prices in array of stock values to maximize positive difference

Got this question in an interview today, and its optimized solution stopped me cold (which blows, because I really wanted to work for this company...) Given a single array of real values, each of...

Equivalent code of CreateObject in C#

I have a code in VB6. Can anyone tell me how to write it in C#. This code is below: Set Amibroker = CreateObject("Broker.Application") Set STOCK = Amibroker.Stocks.Add(ticker) Set quote =...

Javafx PropertyValueFactory not populating Tableview

This has baffled me for a while now and I cannot seem to get the grasp of it. I'm using Cell Value Factory to populate a simple one column table and it does not populate in the table. It does and...

DAX formula for calculate Sum between 2 dates

I have a couple of tables in PowerPivot: A Stock table - WKRelStrength whose fields are: Ticker, Date, StockvsMarket% (values are percentages), RS+- (values can be 0 or 1) A Calendar Table -...

Is it possible to display hyperlinks in a Tkinter message widget?

I am creating a news feed program that uses the Feedparser module to read the Yahoo! RSS API, write key data to a text file, and then display the data organised in a Tkinter GUI. I was enquiring...

How to embed matplotlib graph in Django webpage?

So, bear with me as I'm VERY new to Django, Python, and web-development in general. What I want to do is display a graph that I've made using matplotlib. I had it working to where the home page...

Matplotlib line time series with scatter

I'm struggling to make a quality chart using python, pandas and matplotlib. The goal is to have a nice line chart based on time, then based on a boolean value, have some sort of indicator (maybe a...

Reading stocks from multiple sources using Pandas Datareader

I have a list of 6 stocks. I have set up my code to reference the stock name from the list vs hard coding in the stock name ... first with SPY which is in position 0. The code below the list...

Getting an Assertion error is my django(1.8.4)

from rest_framework import serializers from .models import Stock class StockSerializer(serializers.ModelSerializer): class Meta: model = Stock #field =...

Python - Pulling from Google Finance with Pandas

I'm trying to pull data from Google Finance using Pandas and Pandas Datareader. Here is my code: #Importing libraries needed for pulls from Google from pandas_datareader import data import pandas...

Python Beautiful Soup split data

I am attempting to create a stock data analysis program in Python. I am scraping the data from Yahoo Finance. My only issue seems to be 'splitting' the data. For example, I have been trying to get...

How to use R to scrape financials from Yahoo Finance

I am interested in analyzing the balance, income and cash flow statements from Yahoo Finance for multiple tickers using R. I have seen that there are R packages that pull information from Yahoo...

Pandas groupby then assign

I have a dataframe in long format with columns: date, ticker, mcap, rank_mcap. The mcap columns is "marketcap" and measure how large a certain stock is, and mcap_rank is simply the ranked verson...

Download stock and option data using python

I need to download historical "stock data" and current "option price data" for a ticker. Can someone please point me to right package. I tried yahoo-finance package, but it is not working. Can...

Quandl returning only empty data frames for requests from 3/27/2018 to now

I'm using Quandl to get daily stock prices, but trying to get any data after the date 3/27/18 returns an empty dataframe. import quandl import pandas as pd import datetime as dt # add quandl API...

IEX Works with secret key but not with test key

Hi I have a problem with this piece of code that needs to get stock prices based on a defined time period and a ticker code. The program actually works when I use my IEX API KEY, but not when I...

Turning Panda Column into text file seperated by line break

I would like to create a txt file, where every line is a so called "ticker symbol" (=symbol for a stock). As a first step, I downloaded all the tickers I want via a wikipedia api: import pandas as...

Push notifications not getting grouped (like Whatsapp)

I am using FCM Cloud Messaging framework to send and receive push messages for both Android and ios. To send messages from my server I call FCM v1 API. I use FCM SDK app in my native app (react...

How to get all Ticker symbols and its stock prices(csv format) using python?

I wanted all ticker symbols and its stock prices in csv format. expected output: Is there any solution to get all data in...

How can I share variable data across different files in React

I am trying to set up graphs in my stockmarket project. I am trying to display the graph of the stock clicked on in Gatsby. Currently, I can display the stock graph of any stock by manually typing...

Make elements move across smoothly when changing position css

I am trying to create a number flip effect using the number-flip npm package as a basis. I wish to make it similar to Robinhood's stock ticker (when scrubbing across a stock chart). I have been...

Python: why robinhood API doesn't response to request to push ticker into watchlist?

Hey guys I have a problem wiht the robin-stocks library. The authentication is working fine so I didn't post the first lines of authentication. What I'm trying to do is push a list of stocks into...

TWS API - store company snapshot and financial statements

My goal is to use a list of tickers together with the TWS API to extract parts of the company snapshot (reqFundamentalData() -> "ReportSnapshot") and the financial statements (reqFundamentalData()...

schedule python script with crontab

I have a bash script that I am trying to run with a cron job. I'm trying to run the cron job on my ubuntu server. I want it to run everyday at 8 hr utc. the bash script activates a conda python...

What is the fastest way to iterate through a list of yfinance tickers?

Im using the python yfinance yahoo API for stock data retrieval. Right now im getting the peg ratio, which is an indicator of a company price related to its growth and earnings. I have a csv...

Change Excel Dates to Number Ranges

I have some data that excel decided to take some liberties with-- something I'm sure we can all relate to. I have some number ranges that are important for the data I'm working with, and in some...

Saving CSV output from Azure function to Azure container (Python 3X)

I want to run an Azure function and save a CSV output to a Azure container. I currently have two blocks of code that Generates a CSV file. Loads a CSV file into my container. Each blocks works...

Finding the error in the script that runs a FIFO/LIFO calculation on a transactional history of an investment tracker

Introduction I have a spreadsheet and the idea of this spreadsheet is that any user can input his or her transaction history in the sheet "history" and based on this history, an overview is...