• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 -

    http://www.ninjatrader.com/support/h...ed_methods.htm
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lavalampmj, Today, 05:25 PM
    0 responses
    3 views
    0 likes
    Last Post lavalampmj  
    Started by Antares66, Today, 05:19 PM
    0 responses
    2 views
    0 likes
    Last Post Antares66  
    Started by jmneto, Today, 05:18 PM
    0 responses
    4 views
    0 likes
    Last Post jmneto
    by jmneto
     
    Started by Bobbyj78, Today, 02:21 PM
    2 responses
    14 views
    0 likes
    Last Post bltdavid  
    Started by EnveousColnago, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Ariana  
    Working...
    X