Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 B4 -write cache error

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

    NT8 B4 -write cache error

    About all I remember is hitting F5 to compile a strategy and moving the slider back to start of timeline on Playback-MarketReplay ...

    Tried to do both again and didn't get it.

    Code:
    2015-09-12 16:39:04:833 (Playback Connection) Cbi.Account.PositionUpdateCallback: instrument='ES 03-14' account='Playback101' avgPrice=0 quantity=0 marketPosition=Short operation=Remove
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=BuyingPower currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=CashValue currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=Commission currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=Fee currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=GrossRealizedProfitLoss currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=InitialMargin currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=IntradayMargin currency=UsDollar value=*****
    2015-09-12 16:39:04:835 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=LongOptionValue currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=LookAheadMaintenanceMargin currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=LongStockValue currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=MaintenanceMargin currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=NetLiquidationByCurrency currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=PositionMargin currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=RealizedProfitLoss currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=ShortOptionValue currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=ShortStockValue currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=SodCashValue currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=SodLiquidatingValue currency=UsDollar value=*****
    2015-09-12 16:39:04:836 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=TotalCashBalance currency=UsDollar value=*****
    [B]2015-09-12 16:39:05:338 ERROR: Data.Bars.Load7: System.IO.IOException: The process cannot access the file 'C:\Users\someuser\Documents\NinjaTrader 8\db\cache\CME US Index Futures ETH.Eastern Standard Time\MINUTE\ES 03-14\Minute_5_1_Last_Close_Tick_Minute_1.Last.ntb' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.InternalDelete(String path, Boolean checkHost)
       at NinjaTrader.Data.BarsSeries.Load()[/B]

    #2
    Hello sledge,

    Thanks for your post.

    Do you have an anti virus/firewall installed on your system and if so which one? (example: Norton, AVG, Avast)
    Do you have a backup or auto backup program running on your system?
    BrandonNinjaTrader Customer Service

    Comment


      #3
      MS security essentials with Windows firewall.
      No backup software.

      Comment


        #4
        Hello sledge,

        Thanks for your reply.

        You will need to ensure NinjaTrader is added to Microsoft Security Essentials exceptions list.

        You will need to exclude the following directories.
        C:\Program Files (x86)\NinjaTrader 8 or C:\Program Files\NinjaTrader 8
        (My) Documents\NinjaTrader 8

        Below I have provided a link on how to add exceptions with Microsoft Security Essentials.
        Last edited by NinjaTrader_Brandon; 09-18-2015, 06:33 AM.
        BrandonNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Brandon View Post
          Hello sledge,

          Thanks for your reply.

          You will need to ensure NinjaTrader is added to Microsoft Security Essentials exceptions list.

          You will need to exclude the following directories.
          C:\Program Files (x86)\NinjaTrader 7 or C:\Program Files\NinjaTrader 7
          (My) Documents\NinjaTrader 7

          Below I have provided a link on how to add exceptions with Microsoft Security Essentials.
          http://answers.microsoft.com/en-us/p...e-3740f00fce85
          I'd like to know more about this. First, I presume you mean ninja trader 8 and not 7. But why must ninja trader "misbehave" in the opinion of virus programs? Already I've heard a few concerns by support about virus checking. I've used many dozens of other software packages that don't have this issue. What is special about Ninja Trader that could cause file locking problems? E.g. OneDrive is a complete pain about locking files, and soon many (if not most) default installations of NT are going to be into OneDrive. (The internet is full of complaints about OneDrive behaviors, but msoft is glacial at best.)

          So I'm not complaining, but as a developer who keeps hearing about this, I wonder what I "need to know". I have AVG. Visual Studio also now installs a service that sometimes locks project files or directories.

          Thank you.

          Comment


            #6
            Hello dalebru,

            Thanks for your reply.

            Edited for NinjaTrader 8.
            Any protection program can prevent NinjaTrader from functioning. Sometimes they will work without issues and sometimes they will cause problems. Some client's have reported their protection to work for years without issue and then one day it blocks NinjaTrader. To ensure that your protection will always work with NinjaTrader you will need to add exceptions. If your protection is scanning the files while NinjaTrader is trying to access them or blocking NinjaTrader from accessing the files, you will get this error. You will get this error if any other program is trying to access NinjaTrader's files while NinjaTrader is trying to access them.
            BrandonNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            6 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            41 views
            0 likes
            Last Post alifarahani  
            Working...
            X