• 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

Chart Trader not showing correct P&L

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

    Chart Trader not showing correct P&L

    Hi,

    I was entering a market order on ES future and the Profit / Loss shown on the chart using chart trader showed $1,000 loss, on another occation P&L showed $64,000 loss immediately the order was filled.

    I was trading using Interactive Brokers and data provided by Kinetick.

    I called IB and they said there was nothing wrong on their end.

    I traded through the $1k loss assuming it was slipage, but $64k was really scary and I closed trade.

    Any idea what is going on?

    #2
    CRITICAL — If your inquiry involves live orders, please always reach out to your broker's Orders Desk immediately to confirm and manage your live orders and positions.


    So I may accurately assist you, please answer all of the following questions:
    • What version of NinjaTrader 8 are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.0.?.?)
    • What version of TWS/Gateway are you using?
    • Do you receive an error on screen? Are there errors on the Log tab of the Control Center? If so, what do these errors report?
    • Please clarify - this was a live order/position to your Interactive Brokers account? Or was this a simulated order/position to a simulated account?
    • Unrealized PnL is always calculated locally (it is not provided by your broker). Is it possible to recreate this symptom now when opening a position in the Sim101 account?
    • If you disconnect from data, does your chart continue to print in real-time? Or does it stop instantly?
    Patrick G.NinjaTrader Customer Service

    Comment


      #3
      Hi Patrick,

      I am using NT8 8.0.20.0 64-bit

      TWS Build 979.3z, Mar 19, 2020 4:36:15 PM

      No errors on screen

      No errors in Log File

      It was a live order.

      I cannot connect to TWS Sim account with NT8

      I have been placing many (100s) orders, and have only noticed issues on these two occations. Using Sim101 to place 20 orders I have not been able to recreate the issue.

      Disconnecting data halts the chart immediately.

      Thanks

      Ian



      Comment


        #4
        With the information at hand, the only root causes I can think of would be a bad tick of real-time data which then caused a very incorrect unrealized PnL calculation.

        Also, I see you're using an unsupported version of TWS. To ensure that this unsupported version is not contributing to any symptoms, I recommend that you download and use the supported version of TWS (973.2). Here is a direct link:
        Patrick G.NinjaTrader Customer Service

        Comment


          #5
          Hi Patrick,

          I will go back to the version you recommend.

          Can you please advise how often NT upgrade the supported version of TWS. There are features in the later versions of TWS that are useful.

          Thanks

          Ian

          Comment


            #6
            When a new version of TWS is supported, it will be noted in the releases notes that the connection guide.
            Patrick G.NinjaTrader Customer Service

            Comment


              #7
              Hi Ian and Patrick

              Can you please explain if you actualy then lost 64k instantly - and do you "accept" that? - or was there a stop order that prevented this from happening?

              I'm doing some few strategies tests now - and im testing to see how it can work - but i wonder if/what i should enter for slipage in the simulations?
              Is slipage meant to be the spread? Im using Interactive Broker as well - I think that Interactive Brokers have low spread - (like arround 0.1 for many things) but would that be 1 for slipage?

              Thanks.

              Comment


                #8
                KarstenKafl , with the information at hand, I suspect this was simply a visual glitch introduced by the conflict between NinjaTrader and the unsupported version of TWS. It's obviously not 'impossible', but highly improbable that you could get yourself into a situation where you've lost tens of thousands of dollars in real dollars instantly.

                The 'Slippage' property is defined in the Strategy Analyzer help guide as:
                Set the amount of slippage in ticks to apply to market / stop market / Market-if-touched order executions (default is 0)

                Note: In the Summary the Slippage is displayed in points.
                I'd recommend asking your question in the NinjaScript sub-forums so that a NinjaScript technician can educate you further on how the slippage property functions and what it's purpose is for in a testing environment with NinjaScript strategies.
                Patrick G.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by asmmbillah, Today, 12:06 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by babouin77, Yesterday, 08:56 PM
                1 response
                13 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by EminiTrader, Today, 11:05 AM
                1 response
                12 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by bosajin, Today, 05:43 AM
                1 response
                19 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Jonathan.Lee, Yesterday, 11:42 PM
                2 responses
                16 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X