Click here to Login





                                                   Inserting today's date in Downloader field?

  0

0
elBulli
2010-06-02 14:56:10


How can I get the Downloader to insert today's date in the "To" field on the page linked below?

I'm guessing I have to write a script but unfortunately my knowledge is still quite limited (but improving) and if someone can help me on the way I would really appreciate it!


http://swea.riksbank.se/sweavr/avanceradResultat.do?searchparameters.datumfran=1983-01-03&searchparameters.datumtill=today&searchparameters.nodeid=5 SEDP3MSTIBOR&searchparameters.frekvens=D&displayFormat=csv&searchparameters.decimalSeparator=.&group.egenskapid=5&group.kortegenskap=STIBOR %28Stockholm interbank offered rate%29&sprakid=en&x=17&y=10

(Doesn't seem I can paste the link correctly either... hopefully you can put it together)


Thanks!



QuantShare
2010-06-03 07:05:39

  0

Best Answer
Hi,

To get this STIBOR data, you won't need a script.

Simply replace "today" by "[Y]-[M2]-[D2]".
You can also replace the start date by "[2Y]-[2M2]-[2D2]".

2M -> Start Date Month
M > End Date Month

2M2 -> Start Date Month (Use two digits. Example: 01 for January, instead of 1)
M2 -> End Date Month (Use two digits)



elBulli
2010-06-03 12:33:49

  0

Many thanks for a quick answer and a fantastic program!


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
BSE historical data by date
Quandl.com Universal Downloader
Number of Days to a Specific Date
Dow Jones U.S. Technology Sector Index Fund survivorship bias-fre...
Vary the Start Date of a Trading System Simulation

How-to Lessons
How to automatically start a downloader every few minutes?
How to debug a downloader
How to create a screen
How to adjust a stock for splits
How to add custom position-based metrics to your trading system

Related Forum Threads
Date conversion error on Json downloader
code to get todays date
How do I change the date format?
Is there a Go to Date option?
Metastock as content type in downloader

Blog Posts
4 Links to Download Free Historical Stock Prices Data by Date
How to use date components in your trading rules
How to make sure your Historical Price Data is Split Adjusted
Download quotes, news, sentiment, fundamental... data using Quant...
Day Trading: A trading system that combines intraday and EOD data









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.