Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom watchlist (different symbols on different days)
Collapse
X
-
Custom watchlist (different symbols on different days)
Does NinjaTrader support running strategy backtesting against a list of different symbols for different days? i.e. I'm looking to backtest a strategy against 5-10 symbols each day, but the list is different each day. So the upload mechanism would have to take both dates and symbols as inputs. Or is there a way to manually enter this in NinjaTrader or C#?Tags: None
-
Hello JasonH,
This is not a functionality NinjaTrader is capable of.
While you can read a text file in a script, and use that information to do a BarsRequest, it would not be supported to read that information and use this for dynamic AddDataSeries calls.
From the help guide:
"Arguments supplied to AddDataSeries() should be hardcoded and NOT dependent on run-time variables which cannot be reliably obtained during State.Configure (e.g., Instrument, Bars, or user input). Attempting to add a data series dynamically is NOT guaranteed and therefore should be avoided. Trying to load bars dynamically may result in an error similar to: Unable to load bars series. Your NinjaScript may be trying to use an additional data series dynamically in an unsupported manner."
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by elirion, Today, 01:36 AM
|
0 responses
3 views
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 01:30 AM | ||
Started by samish18, Yesterday, 08:31 AM
|
2 responses
9 views
0 likes
|
Last Post
by elirion
Today, 01:28 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
16 responses
390 views
0 likes
|
Last Post
by z.franck
Today, 01:04 AM
|
||
Started by rtwave, 04-12-2024, 09:30 AM
|
4 responses
34 views
0 likes
|
Last Post
by rtwave
Today, 12:50 AM
|
Comment