Is any one using any harnesses that might work for this?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Unit testing
Collapse
X
-
Unit testing
Is there a practical way to unit test NinjaScript code (e.g. custom stratgies, indicators, add-ons)?
Is any one using any harnesses that might work for this?Tags: None
-
Hello AnotherTrader,
Thank you for the post.
This item is likely going be best answered by the community members who have experience with this specific concept as this is not something our support would have direct information on.
From my knowledge of unit testing, it would likely be possible to access NinjaScript objects from the test. However, in contrast to how unit testing works, it may not be directly possible to recreate accurately what the platform does with the objects you would be testing (indicator, strategy). There are many steps required in correctly instantiating a NinajScript object that happens internally so that portion of this concept would not easily be recreated in a test.
If any other community members have further information on this topic, I am sure they will post their knowledge here as well.
I look forward to being of further assistance.
JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | |
---|---|---|---|
Started by dariuszszyc, Today, 12:07 AM
|
1 response
7 views
0 likes
|
Last Post
![]()
by login_dejavu
Today, 12:32 AM
|
|
Started by KennyK, Yesterday, 09:28 PM
|
1 response
10 views
0 likes
|
Last Post
|
|
Started by vindiou, Yesterday, 02:37 AM
|
1 response
24 views
0 likes
|
Last Post
|
|
Started by login_dejavu, Yesterday, 10:55 AM
|
2 responses
27 views
0 likes
|
Last Post
|
|
Started by joemiller, Yesterday, 03:30 AM
|
3 responses
11 views
0 likes
|
Last Post
![]()
by joemiller
Yesterday, 11:12 PM
|
Comment