Click here to Login





                                                   historical earnings surprise

  0

0
matt
2014-01-13 05:32:16


I'd like help fixing this Downloader. I am trying to extract earnings data. ie: http://biz.yahoo.com/z/20131028.html

It seems the parser is broken. I've attached the errors below.

Where is the actual pattern matching and parsing done that extracts the data from the html?

Thanks,
Matt


Pre-Script: execution error(s):
Method: InternalSubStringWithChecks
Length cannot be less than zero.
Parameter name: length
It seems like the 'Date' value is incorrect --> <html><head><title>Quarterly Earnings Surprises: Company Earnings Calendar - Yahoo! Finance</title><meta --> File : http://biz.yahoo.com/z/20131028.html
Symbol name cannot be empty
It seems like the 'Date' value is incorrect --> xmlns="" --> File : http://biz.yahoo.com/z/20131028.html
Symbol name cannot be empty
It seems like the 'Date' value is incorrect --> name=Keywords --> File : http://biz.yahoo.com/z/20131028.html
Symbol name cannot be empty
It seems like the 'Date' value is incorrect --> content="Earnings Announcements --> File : http://biz.yahoo.com/z/20131028.html
Error parsing column 'surprise' --> Value: EPS Estimates --> File : http://biz.yahoo.com/z/20131028.html
Error parsing column 'eps' --> Value: Earnings Per Share --> File : http://biz.yahoo.com/z/20131028.html
Error parsing column 'consensus' --> Value: Conference Calls --> File : http://biz.yahoo.com/z/20131028.html
You must remove column : surprise - line n°3
You must remove column : eps - line n°3
You must remove column : consensus - line n°3
It seems like the 'Date' value is incorrect --> xmlns="" --> File : http://biz.yahoo.com/z/20131028.html
Symbol name cannot be empty





Historical Earnings Surprise, EPS and Consensus Data (by Patrick Fonce, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads Notes Report an item

QuantShare
2014-01-13 12:00:19

  0

Best Answer
Hi Matt,

The parsing of html data is done using the Pre-Script code (click on "Pre-Script" button).

I have already updated the script and the downloader is working now. Please download it again from the sharing server.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Historical Earnings Surprise, EPS and Consensus Data
Earnings Surprise Strategy
Historical Earnings Calendar Data for U.S. Stocks - Date/Time and...
Historical Earnings Calendar for Major Stock Exchanges
Price to Book Ratio Historical Data - Market to Book

How-to Lessons
How to download earnings calendar data for various stocks
How to download and use U.S. stocks earnings data
How to download historical quotes of indices
How to download historical EOD data for penny stocks
How to export trading data to a CSV file

Related Forum Threads
Update existing Historical Earnings Surprise trading object?
Sales Surprise and Earnings surprise data?
Historical Earnings Calendar doesn't download after Nov 2016
Problems Downloading Historical Earnings Data
using GetCustomDatabaseData on Earnings calendar database

Blog Posts
How to create a trading system, screen and composite using earnin...
10 ways to download historical stock quotes data for free
4 Links to Download Free Historical Stock Prices Data by Date
How to make sure your Historical Price Data is Split Adjusted
German Stock Exchanges: 5 free ways to download historical EOD/In...









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.