Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trade Data Export Plugin -- Is it possible?

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

    Trade Data Export Plugin -- Is it possible?

    Hi Everyone,

    I'm trying to figure out if it is possible to have a plugin created for Ninjatrader 8 that can do the following:

    -Record real-time order data, and export it automatically to a .CSV file.
    -The CSV file will update automatically when a trade is entered, and again when the trade is exited

    The plugin would record the following for each order:

    1. Instrument
    2. Market pos. (Buy or Sell)
    3. Qty
    4. Entry price
    5. Exit price
    6. Entry time
    7. Exit time
    8. Profit (+ or -)
    9. ATM Profit Target (In Ticks)
    10. ATM Stop Loss (In Ticks)

    Long story short, the plugin would record my order data every time an order is executed. I know most of that information is currently available using "Trade Performance", but I need something that will also record the Profit Target & Stop Loss used for each trade (ATM), and automatically export it to a realtime CSV file without having to generate a report. Hopefully that makes sense.

    The end goal is to have an external software read the .CSV file data. I just need an efficient way to log orders & targets without having to manually enter each one in a spreadsheet.

    I wanted to get some opinions before I contacted developers to have it made.

    Thoughts?

    #2
    Hello Tartagliagroup,

    Thank you for the post.

    What you have described is certainly possible from NinjaScript. NinjaScript is C# so writing to file and other file operations are possible. The list of items you want are also things you could collect in various ways depending on the use case.

    If you wanted to go into more detail about how to access that type of data we can however it sounds like you are more looking to know if this is possible or not.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rufat, Yesterday, 09:24 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by TRADEONECLIC, Yesterday, 10:05 PM
    0 responses
    24 views
    0 likes
    Last Post TRADEONECLIC  
    Started by BrennanSalibrici, 12-17-2020, 11:55 PM
    3 responses
    45 views
    0 likes
    Last Post StealthM93  
    Started by coopgrafik, Yesterday, 07:56 PM
    0 responses
    10 views
    0 likes
    Last Post coopgrafik  
    Started by MisterGee, Yesterday, 07:55 PM
    0 responses
    11 views
    0 likes
    Last Post MisterGee  
    Working...
    X