How can I make a tradable list?
Author: GolfPlayer
Creation Date: 10/14/2017 9:29 PM
profile picture

GolfPlayer

#1
Hi!
Please help.
I want to make a back test of my strategy on portfolio which consists of several US stocks. I download data on these stocks via YahooFinance provider.

But I don’t want to test my strategy on all historical data. I want to make “tradable periods” for every stock in my list. For an example I want to make trade Apple only in the 1st and 2nd quarters of 2015, trade Microsoft only in the 3rd quarter of 2013, and he 1st and 2nd quarters of 2014 and so on.

Is it possible to make such “tradable list” using standard options of WealthLab or some Data providers?
Or is there the only way to write these time conditions in the code?
profile picture

Eugene

#2
Hi,

Yes, it's possible to do in WealthScript code using .NET Date/Time methods.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).