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
Is there any way to communicate with Ninjatrader application from another C# app?
Collapse
X
-
Does NinjaTrader do anything to disallow a script or assembly (developed by whatever means) from setting up its own remote communication?
Comment
-
Originally posted by NinjaTrader_Dierk View PostUnfortunately this is not supported.
If its the later that's not an issue as I'm more then willing to implement it myself. Its just a question of whether NinjaTrader has configured the CLR's Code Access Security to prevent scripts and assemblies, which implement indicators and strategies, from accessing sockets, files, pipes, shared memory, etc.
I asked a similar question regarding two assemblies loaded by NinjaTrader talking to each other through non-NinjaTrader APIs (i.e. names pipes, shared memory, etc.) on this thread and the response there was that NinjaTrader did not block this so it seems like that the later is meant, but I'd like to get clarification before I start working on an implementation that potentially isn't technically possible.Last edited by Josh Heitzman; 05-29-2008, 10:56 PM.
Comment
-
-
Originally posted by Josh Heitzman View PostI I'd like to get clarification before I start working on an implementation that potentially isn't technically possible.
Comment
-
Originally posted by AgeKay View PostDo you mean that you're planning to develop a component that makes NinjaTrader's market data and other API features available to external applications? That would be really useful.
Comment
-
When you code your external application in C++/python, you can include the NinjaTrader.Client.Dll.
As your external application makes a decision to trade something, you call the NinjaTrader.Client.Dll's API to submit an order.
Very simple.
If your external application requires a data feed then that's another story.
Which brings up another question... why not code your strategy in NinjaScript? If you've already master C++ and python, then C# is easy enough.
Think about it... You would be coding your strategy that is 100% .NET Framework.
Comment
-
Originally posted by mgbloomfield View PostWhich brings up another question... why not code your strategy in NinjaScript? If you've already master C++ and python, then C# is easy enough.
Think about it... You would be coding your strategy that is 100% .NET Framework.
Or to put it more succinctly...personal preference.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by helpwanted, Today, 03:06 AM
|
0 responses
3 views
0 likes
|
Last Post
by helpwanted
Today, 03:06 AM
|
||
Started by Brevo, Today, 01:45 AM
|
0 responses
7 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Comment