Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
NinjaTrader 8.0.23, .Net Framework 4.8 and C# Version
Collapse
X
-
Thanks again, magomimmo. A further comment on the reasons for updating. It's not primarily to have the NinjaScript Editor at those versions, although that is obviously useful. Primarily it is to make the features in the latest versions available to all users and the Development Team. Particularly, given the explicit performance improvements in .NET 6, those performance improvements in the standard platform can flow through for the benefit of all. It also makes the development of multi-platform more likely.
Thanks.
-
Thanks for your thoughts as well jeronymite.
Time e money are scarce resources. If I had to put my money on future development I would put them in making ninjatrader agnostic about the underlying operating system.
The only reason why I'm currently studying dotnet is because Microsoft itself is seriously taking into account that we're living in a multi-platform world where MS OS is no more the incumbent one.
I would prefer, as a retail trader and as a programmer as well, to have ninjatrader running on any platform instead of having its ninjascript editor compatible with the latest C# 10 stuff.
My 2 cents.
Leave a comment:
-
Thanks for your thoughts, magomimmo. Always good to have ideas that make a better, more robust, more accessible, more flexible, more functional platform.
As a Software Engineer myself, I appreciate the value that NinjaTrader 8 provides to those of us who can and do program. Yet one must never forget that there is a large cohort of folks who do not have the luxury of the skill-set of programmers, and therefore use NinjaTrader with whatever is available "out-of-the-box" and whatever can be obtained via the NinjaTrader Ecosystem that suits their needs.
Because of that, it is essential for NinjaTrader to bear a certain burden of responsibility for all users of the platform, and that means making it "as good as it can be" for the non-programming users as well as the more code-capable users. There is very little conflict in that, since to make it better for the programmers is to offer more that can be done and used by all users. Why is keeping pace with technological advances important? Because these new releases provide more advanced ways to do things, thus making the NinjaTrader offering even more compelling; and they also improve the platform as a whole by making it more capable, better performing, and, very importantly for NinjaTrader LLC, faster time-to-market! This would include making the types of innovations you speak of much more likely.
Often new technology features reduce the amount of code required to achieve a particular goal. Less code generally, though not always, reduces the risk of bugs and can make maintenance easier.
So for very compelling business reasons, NinjaTrader LLC should be adopting these technologies as soon as possible after reasonable qualification testing can be performed. Once a suite of testing processes and procedures is in place, this becomes easier for each iteration of releases.
Looking forward to NinjaTrader LLC recognising the business benefits of doing this and moving forward with it.
Thanks.
- Likes 2
Leave a comment:
-
Originally posted by jeronymite View Post...
The benefits in performance (noted for .NET 6) are of particular relevance, since there are known performance issues in NT8 that need to be addressed, and these updates may assist in that. Furthermore, with the release of Windows 11, work to qualify NT8 on that product will be required, and it would make sense to also qualify the latest C# and .NET at the same time.
...
while I agree with you about how much value would bring on the table a more frequent upgrade of NT with the corresponding upgrade of the underlying technology, my personal view on the best path is different.
DISCLOSURE: I'm really new to NT and I've never programmed on MS technology (I'm a senior functional programmer, mainly with clojure/jvm and clojurescript/JS on Linux OS).
If I could dream about the next major version of NT, I would like to be web-based and portable on any operating system as desktop app as well (e.g. electron, like Visual Studio Code).
P.S. Currently I'm using Visual Studio Code IDE (+ remote-ssh extension) on my Linux box to remotely program a virtualbox-based NT installation (with a lot of fun).
Leave a comment:
-
Regardless of how various approaches can make it possible for traders to utilise newer versions of C# or .NET, the fact remains that these are really just workarounds for the lack of updates to these products natively within NinjaTrader 8. Bringing these products up-to-date within NT8 offers their benefits to all users of the product, including the Development Team itself. And because the entire product itself benefits throughout, all users, including those who do not program, win!
The benefits in performance (noted for .NET 6) are of particular relevance, since there are known performance issues in NT8 that need to be addressed, and these updates may assist in that. Furthermore, with the release of Windows 11, work to qualify NT8 on that product will be required, and it would make sense to also qualify the latest C# and .NET at the same time.
Ignoring this progress in the products becomes counter-productive after a period ... and anything longer than 12 months falls into that category, I believe.
Given that NinjaTrader receives "plenty of feedback" on this, surely there is demonstrable demand for the work to be done?!
Thanks.
- Likes 1
Leave a comment:
-
Hello magomimmo,
Your understanding is correct where you could build a managed DLL and add a reference for that DLL in the NinjaScript editor to use that code. This wouldn't be something we would directly support, but is something to consider trying if compiling in the NinjaScript Editor is not an option. You are welsome to share your experiences here if you think it can help other community members.
At this time there is not an active development task to upgrade the version of C# used. It is something we receive plenty of feedback on, but it is not something we can share an ETA on when that kind of work will take place.
Leave a comment:
-
Originally posted by NinjaTrader_Jim View PostHello ntbone,
Thanks for your post.
Correct, we are still on C# 5 in the NinjaScript Editor. Greater levels of C# can be used in Visual Studio to create managed DLL's and these managed DLL's can be used in NinjaTrader all the same, though. (We would add the dll in bin/Custom, and then add a reference within the NinjaScript Editor to use it.)
...
By using Visual Studio (or even any other editor/IDE, e.g. Visual Studio Code) I could create dotnet managed DLL in any programming language able to compile down to IL (Intermediate Language), even in F#/Clojure, etc.
By adding those DLLs to the bin/Custom folder and by adding them as references within NinjaScript Editor, I could use them as they were programmed in C# 5.0.
If my interpretation is correct, I would say that upgrading NinjaScript to directly support newer C# version, even if very appreciated, it's not such an urgent work to be done. Am I wrong? Instead it would be very impressing to create NinjaTrader as web based dotnet application able to run on any operating system compatible with the newly released dotnet 6.
Thanks for your answer
Last edited by magomimmo; 11-22-2021, 07:54 AM.
Leave a comment:
-
With .NET 6 and C# 10 recently released, there is a need to emphasise the importance of NinjaTrader 8 keeping pace with these developments.
Whilst there are many competing priorities for the Development team, It would serve that team and the user community well if these new releases could be supported as soon as possible.
Thanks.
- Likes 2
Leave a comment:
-
+1! Would be nice the .Net Framework new features were introduced to NinjaTrader ASAP
- Likes 1
Leave a comment:
-
Hello cutzpr,
I had meant if you needed to incorporate some code that needs to be compiled with a higher level of C# or .NET you could build an external DLL containing that code in Visual Studio, and then add that DLL as a reference in NinjaTrader [along with any needed dependencies] and use code from the DLL within a NinjaScript built in the NinjaScript Editor.
Leave a comment:
-
Originally posted by JakeOfSpades View PostLove that everyone is on the same page, having .NET Core 3.1 with NinjaTrader would open a lot of possibilities especially with ML.Net.
Leave a comment:
-
Confused... Then why is ninjatrader automatically referencing 4.0 framework? I am trying to import a .dll that requires at least 4.7. I remove the old references to 4.0 and add manually the 4.7 but it keeps automatically adding these the older framework.
- Likes 1
Leave a comment:
-
Hello junkone,
Thanks for your feedback, your vote has been added.
Upgrading the version of C# used requires updates to the some core components in the platform and updating the compiler used in the NinjaScript Editor. In the meantime, DLL's can be built in Visual Studio and you can use those compiled assemblies with NinjaTrader to take advantage of code written in newer versions of C#.
We look forward to assisting.
Leave a comment:
-
add my vote. this thread is very old. I hope these votes matter as the timeline does not match the importance of this.
Leave a comment:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
4 views
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
5 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
47 views
0 likes
|
Last Post Today, 12:28 AM |
Leave a comment: