- ago
In WL6 we could set the date to start data streaming. Also in WL7, is there a way to start the Execute section for idx > 1. I need to have the indicators with good data before I start trading.
0
626
10 Replies

Reply

Bookmark

Sort
Glitch8
 ( 8.38% )
- ago
#1
Assign a value to StartIndex from within your Initialize method.
0
- ago
#2
Is there a way set the starting date for streaming? The StartIndex works OK. But I want to also set the starting date.
0
Glitch8
 ( 8.38% )
- ago
#3
Do you mean, to control how much data is loading into a chart that you then start streaming? For intraday charts, the amount of data is controlled by the Data Preferences/Intraday Minute Bar Multiple setting. So, it isn't a date, but it lets you control how much data is loading into intraday charts by default.
0
- ago
#4
Setting Chart Preferences changes the start date for ALL streaming charts. therefore, if you have multiple strategies with same scale running, they all start from the same date.
Is there a way to configure the start date differently for each streaming strategy?

0
Glitch8
 ( 8.38% )
- ago
#5
Currently no, but they would not all start from the same date. They would start at different dates depending on the scale of each one.
0
- ago
#6
What's wrong with having the same starting date for all strategies?
0
- ago
#7
Are you planning to include such feature in the near future?

All of my stratiegs have the same scale but each does something different.
It is important to have the right start date so strategies can calculate their equity and number of shares to trade.

it would be nice if you include the same Configuration as in Strategy Monitor'.
I could use 'Strategy Monitor' as a possible solution to set start date, but it I like to watch the strategy chart streaming all the time to take action if necessary.
0
Glitch8
 ( 8.38% )
- ago
#8
Of course, we can add this to our feature request list!
0
- ago
#9
In my strategy I start data streaming before I start any buy/sell dates and do that in Preferences. Then in the strategy I setup a start date for trading (day/month/year) and then check each bar to see if the Start Day has come. This works well.
0
- ago
#10
Thanks pestocat2,
That's a good workaround.
0

Reply

Bookmark

Sort