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!
See more
See less

Partner 728x90

Collapse

create a C# code only file (.cs file) in Ninja Trader Script

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

    create a C# code only file (.cs file) in Ninja Trader Script

    Hi NT team

    I am trying to establish a SQL database and connect to NT. One of the developers I am working with had the following question. Could you please answer this:

    1) Can you create a C# code only file (.cs file) in your Ninja Trader Script ? We have our own DAL.cs file (stands for Data Access Layer) all our code for SQL communication and loading data in dataset structure is under DAL.cs. Please confirm if you can create DAL.cs a new file on Ninja Trader.
    Thank you
    whotookmynickname

    #2
    whotookmynickname, connecting to SQL would be something we can not officially support here, however to allow partial classes to extend functionality you could look into those for example -

    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    16 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X