Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Not enough quota is available..." followed by "Write lock..." error

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

    #31
    Hello neoikon,

    To know the current price in a drawing object you would use the bars that its attached to and then one of the Get methods like the GetClose. You don't need a market data subscription for that.


    You need to supply an index of what bars price you wanted, you could use the last bar index in the series to get the most recent price.

    There is no preferred code for the instrument, you could use either.

    Comment


      #32
      Occasionally I have this error with the same inner exception. It happens if I try to load lots of data like 1 year of MNQ (I use 100 range chart for MNQ). NT8.0.26.

      Comment


        #33
        Hello Leeroy_Jenkins

        If you are seeing the error mentioned in post 1 I would suggest as a first step update to the current release, if this error was seen in a clean installation of the platform and not something you are doing in your code it may have already been corrected.

        Another step would be to reduce what you are doing in the workspace to find which item is having that error. The original posters question related to using specific code in a specific indicator and then having this error. If you didnt code something yourself that may relate to something you have imported working incorrectly.



        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        61 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X