Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Downloader behaviour - remove ; replace

  0

0
saratur
2011-01-27 15:49:17


What is the exact behaviour of a Downloader for the four combinations of check/uncheck for
"remove old data"
and
"replace same data" ?



QuantShare
2011-01-28 05:04:38

  0

Imagine your are downloading EOD data for Google:
"remove old data" instructs the application to remove Google EOD data before adding the new data
"replace same data" instructs the application to replace data for the same dates



saratur
2011-01-28 05:23:08

  0

Sorry I am not clear on what exactly this means.
- "replace same data" - this would be for the start to end dates, correct?
- "remove old data" - if this relates to the start to end date range it seems this will be same as replace; so is it removing all the data for GOOG, including for dates outside of the range?
- what happens when none of these tow boxes is checked? does updates only dates where there was no earlier data?




QuantShare
2011-01-28 06:10:30

  0

Best Answer
Example:
Current Goog data: (In the database)
01/01/2010;601.2;601.3
02/01/2010;601.2;601.3

Downloaded Goog data: (From the Internet)
02/01/2010;601.2;601.4
03/01/2010;601.2;601.3

If "remove old data" is checked then the application removes all Goog data before adding the new data (Including data outside the range).

If "replace same data" is checked then the first line (02/01/2010) will be updated (because it already exists) and (03/01/2010) will be added
Result:
01/01/2010;601.2;601.3
02/01/2010;601.2;601.4 <- This value was updated
03/01/2010;601.2;601.3

If "replace same data" is not checked then the first line (02/01/2010) is ignored and (03/01/2010) will be added
Result:
01/01/2010;601.2;601.3
02/01/2010;601.2;601.3
03/01/2010;601.2;601.3




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
Downloader for Netfonds
Finviz Downloader
Historical EOD data for LSE-listed Stocks and ETFs
Dhaka Stock Exchange - Historical EOD Data
Money Flows - Selling on Strength

How-to Lessons
How to automatically start a downloader every few minutes?
How to remove a chart pane's margins
How to debug a downloader
How to execute a script at regular intervals
How to automate the data downloading process

Related Forum Threads
Bse sectoral Indices downloader
Question about Downloader
Downloader again
How can I rename a downloader
Multi threading URL requests in downloader

Blog Posts
How to create buy and sell trading rules based on News Data
How to speed up quotes and news downloads
How to create custom databases in your trading software
QS Trading Software: Global Script
How to get buy and sell orders for a portfolio based on a trading...









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items