Click here to Login





                                                   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



Joshua Laferriere
2019-07-30 21:50:32

  0

will it always replace data or only if there is an updated #?

What if I want to keep my downloads to a minimum. I don't understand if it's cleaning bad data or simply re-acquiring the same data.



QuantShare
2019-07-31 11:16:39

  0

It will always replace data if same date/time is detected.
It will not remove any other data unless "remove old data" is selected and in this case, all the data is removed first then only the new data will appear.



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
Quandl.com Universal Downloader
Survivorship bias-free S&P 500 database downloader
Economic Series Downloader
Tiingo IEX Intraday Downloader
CryptoCompare Daily Downloader

How-to Lessons
How to automatically start a downloader every few minutes?
How to remove non-active securities
How to remove a chart pane's margins
How to debug a downloader
How to execute a script at regular intervals

Related Forum Threads
Question about Downloader
How can I rename a downloader
Downloader needs Excel - Alternative?
Multi threading URL requests in downloader
Downloader for delisted symbols

Blog Posts
How to create custom databases in your trading software
Different Ticker Symbols for Each Data Source
How to Automatically Import Local Data Into QuantShare
How to Download Trading Data for Certain Securities Only
How to make sure your Historical Price Data is Split Adjusted









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.