Is Visual Studio needed to be professional programmer for Ninja Strateg - Platforms and Indicators | futures io social day trading
futures io futures trading


Is Visual Studio needed to be professional programmer for Ninja Strateg
Updated: Views / Replies:775 / 8
Created: by spinnybobo Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Is Visual Studio needed to be professional programmer for Ninja Strateg

  #1 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 48 received

Is Visual Studio needed to be professional programmer for Ninja Strateg

Hello Everybody

I am working on developing strategies for clients using NinjaTrader and have actually gotten pretty good at programming, finding bugs, fixing them and making things work.

One of my clients was a little bothered that I don't use Visual Studio for development for Ninja.
I know that if a person is developing very heavy algorithmic trading for high frequency trading and things that are extremely complex, then it makes sense to test something that is always very important which is Runtime or Efficiency of Code.
I was told by an algorithmic developer that Visual Studio has enterprise tools that make this possible.

A few questions I would have is
1. Does Visual Studio Professional have these tools or would I only get them by using Visual Studio Enterprise Edition?
2. How would I apply this to NinjaTrader ?

I ask because if I am going to test runtime of a certain block of code, couldn't I just import the library like
using System.Diagnostics;
using System.Threading;

and just do this inside of Ninja? Can't you pretty much do most things inside of Ninja?
I know Visual Studio has a "Testing Environment". So perhaps it is possible to make a "testing suite" for certain procedures that would be much easier than manually testing using Replay Data and stuff.

Does anybody have any other ideas about the usefulness of using Visual Studio for Ninja Trader Development?
I know people "debug" using it, but it seems like most things can be done right from using Ninja since it is all in the same language and anything I can do in Visual Studio from a programmatic point of view, I can also do in Ninja.

I understand if I were using Tradestation or MetaTrader, I would need to use Visual Studio for creating .dll's

Can anybody please enlighten me and perhaps guide me to a tutorial that helps in this case? I ask because I actually know a few professional developers who exclusively use Ninja and they never use Visual studio for anything. Sometimes I think certain clients worry too much and sometimes they are not understanding and think if my programmer is not using Visual Studio and it is an industry standard, then maybe the code won't be as good. But if there is something I need to learn, I am open to any suggestions.

thank you

Spencer

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Banned: User requested
 
Futures Experience: Master
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 135 since Dec 2013
Thanks: 19 given, 127 received


Compiled code is 10x faster or more in execution than any of the scripting languages used by any piece of trading software. Scripting languages are just plain slow! Most scripting languages are run through a virtual interpreter built with one of the C languages. Usually C or C++.

Reply With Quote
The following user says Thank You to MedianVelocity for this post:
 
  #4 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 48 received


MedianVelocity View Post
Compiled code is 10x faster or more in execution than any of the scripting languages used by any piece of trading software. Scripting languages are just plain slow! Most scripting languages are run through a virtual interpreter built with one of the C languages. Usually C or C++.

Hey MedianVelocity

thanks for your reply. NinjaTrader is compiled. It is called a scripting language, but it is nothing more than C# Classes based on inheritance and stuff. Anytime you write a piece of code you always have to compile some indicator or strategy and it compiles "ALL" indicators and strategies. Plus, C and C++ are also compiled languages.

thanks
Spencer

Reply With Quote
 
  #5 (permalink)
Banned: User requested
 
Futures Experience: Master
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 135 since Dec 2013
Thanks: 19 given, 127 received

C# is not strictly compiled, but it can be. It's the middle ground between an interpreted and compiled language. As I said before, C and C++ are compiled and have a long track record.

Reply With Quote
The following user says Thank You to MedianVelocity for this post:
 
  #6 (permalink)
Elite Member
Birmingham UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
 
ratfink's Avatar
 
Posts: 3,336 since Dec 2012
Thanks: 11,276 given, 7,090 received


spinnybobo View Post
Can anybody please enlighten me and perhaps guide me to a tutorial that helps in this case? I ask because I actually know a few professional developers who exclusively use Ninja and they never use Visual studio for anything. Sometimes I think certain clients worry too much and sometimes they are not understanding and think if my programmer is not using Visual Studio and it is an industry standard, then maybe the code won't be as good. But if there is something I need to learn, I am open to any suggestions.

thank you

Spencer

I do almost exactly as you describe, have written many thousands of lines in Ninja and never had to use Visual Studio for debugging. I find the environment to be excellent on its own, as I am sure do many, many other programmers on the forum. The 'using' directive you mention does provide great access to system blocks such as networking and threading, without needing much more.

If you have to interface to other products or create external processes then obviously a wider suite of tools may well factor higher on your list. The Visual Studio suites do offer more powerful facilities, including profiling in the pro versions, but I have always found that the quality of ideas, design and code written to be far more important than the tools available - something clients do not always understand, especially if they are overly focussed on a check-box process mentality.

Travel Well
Reply With Quote
The following user says Thank You to ratfink for this post:
 
  #7 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 48 received


ratfink View Post
I do almost exactly as you describe, have written many thousands of lines in Ninja and never had to use Visual Studio for debugging. I find the environment to be excellent on its own, as I am sure do many, many other programmers on the forum. The 'using' directive you mention does provide great access to system blocks such as networking and threading, without needing much more.

If you have to interface to other products or create external processes then obviously a wider suite of tools may well factor higher on your list. The Visual Studio suites do offer more powerful facilities, including profiling in the pro versions, but I have always found that the quality of ideas, design and code written to be far more important than the tools available - something clients do not always understand, especially if they are overly focussed on a check-box process mentality.

so the profiler is what people would use in the pro version to determine the "performance" or efficiency of code?
I have never really used this so this is probably the only thing that is missing.
I do remember potentially finding a bug that could exist in Ninja when you have the check box checked for "enforce partially filled" and you are using multiple IOrders in a Managed approach. I tried to "attach to process" from Ninja to Visual Studio and then run replay and hopefully see why sometimes the stop orders did not get "Working" state, but it looks like I could not see Ninja running in replay. Once you attach it it "locked" Ninja, so I could not see the dynamics of the replay in VS.

I guess seeing the "profiler" would be the next logical reason to debug. So, I will look into that. Thanks.
However, I do agree that quality code is most important thing.

thanks :-)

Reply With Quote
 
  #8 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 48 received


MedianVelocity View Post
C# is not strictly compiled, but it can be. It's the middle ground between an interpreted and compiled language. As I said before, C and C++ are compiled and have a long track record.

ok I know what you mean now. I believe this is how it is in Java which is basically why it is so easy to decompile Java and C#, because there is a "middle ground step" that C++ does not have.

However, I do have to say that there are plenty of enterprise applications which are built either strictly on Java or .Net C# or VB that are used for trading as well as Java server side things that exchanges like CBOT use, so it I would not think it is subpar in speed just based on that. However, is there a way to make code even faster either using C# purely compiled or C++ in VS and running it in Ninja? This would be an interesting comparison to test runtime and stuff.

Reply With Quote
 
  #9 (permalink)
Trading for Fun
New Zealand
 
Futures Experience: Intermediate
Platform: Mac OS X
Broker/Data: MB Trading/AMP/LMAX
Favorite Futures: SL-1210 M5G
 
Posts: 72 since Jun 2011
Thanks: 2 given, 31 received

Actually if latency is important like HFT you would avoid Java or .NET as those two would introduce latency.

Nowadays for Java things are much better than they used to be and the speed difference is negligible but technically for applications like HFT where latency is important you would want to avoid Java.

Java is used in business applications for its portability, ease of development and easily accessible talent pool of developers who have experience in the finance industry.

When you want to upgrade your server hardware running your mission critical app with Java you can replace the hardware and underlying operating system and theoretically the JVM should run the application flawlessly.

This is very important compared to the days where a system (hardware + operating system) could not change for legacy app support reasons.

I recommend you do a little research on programming languages and general runtime performance of them.

From assembly -> C -> Java

Reply With Quote

Reply



futures io > > > Is Visual Studio needed to be professional programmer for Ninja Strateg

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2013 Released shodson NinjaTrader Programming 4 November 1st, 2013 06:21 PM
Visual Studio 2012 Express Debugging aguison NinjaTrader Programming 5 July 1st, 2013 01:56 AM
Webinar - ACSIL with Visual Studio yonatan Sierra Chart Programming 1 August 16th, 2012 06:05 AM
Using Visual Studio (Express) w/ NT LostTrader NinjaTrader Programming 3 July 28th, 2010 08:48 PM
Will Visual Studio 2008(5, 10?) help? MXASJ NinjaTrader Programming 2 November 8th, 2009 08:55 AM


All times are GMT -4. The time now is 12:55 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-11 in 0.14 seconds with 19 queries on phoenix via your IP 54.145.16.43