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

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 adeelshahzad, Today, 03:54 AM
    5 responses
    30 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by stafe, 04-15-2024, 08:34 PM
    7 responses
    31 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by merzo, 06-25-2023, 02:19 AM
    10 responses
    823 views
    1 like
    Last Post NinjaTrader_ChristopherJ  
    Started by frankthearm, Today, 09:08 AM
    5 responses
    18 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    43 views
    0 likes
    Last Post jeronymite  
    Working...
    X