Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need to automate my export code routine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need to automate my export code routine

    I export my code via standard tool "Tools->Export->NinjaScript Add on" very often - several times per day. Since Ninja has no ability to create export template, I have to include files manually each time. In order not to confuse which files must be added and which must not, I have to be very careful.

    Been using manual exporting for several monthes I'm a bit tired of it and need some automatization for it. I decided to create an utility (or even batch file) which will copy specified files into temporary directory and then compile them and pack the resulted dll into zip file, as Ninja does it.

    Could you give the general algorithm what I must do, or (the best variant) some example how to do it?

    #2
    Hello,

    Thank you for the post.

    While I cant detail the source code for the platform which would be needed to directly answer this question, I can provide the following project template which allows you to compile dlls for NinjaTrader in Visual Studio: https://ninjatrader.com/support/help...t_overview.htm
    Specifically the link "
    Download Visual Studio Solution for AddOn Development"

    This contains a visual studio solution complete with everything needed to build a dll and push it to the NinjaTrader directory. Please keep in mind that using this process, you would have to restart the platform each time you rebuild the solution as it will need to replace the dll in the custom folder and reload it. This is likely best used for items that are already developed and just need to be exported. if you are working on an item and need to change and retest I would still suggest using the platform in source code mode.

    Perhaps you can combine your current approach with this project template to avoid having to reselect items and only copy in the files changed when you want to compile it into a dll.

    I Look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jclose, Today, 09:37 PM
    0 responses
    4 views
    0 likes
    Last Post jclose
    by jclose
     
    Started by WeyldFalcon, 08-07-2020, 06:13 AM
    10 responses
    1,413 views
    0 likes
    Last Post Traderontheroad  
    Started by firefoxforum12, Today, 08:53 PM
    0 responses
    9 views
    0 likes
    Last Post firefoxforum12  
    Started by stafe, Today, 08:34 PM
    0 responses
    10 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by sastrades, 01-31-2024, 10:19 PM
    11 responses
    169 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X