I'm trying to use the ATI interface.
2022-11-02 18:49:08:258 *************** unhandled exception trapped ***************
2022-11-02 18:49:08:263 An entry with the same key already exists.
2022-11-02 18:49:08:822 System.ArgumentException: An entry with the same key already exists.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value)
at NinjaTrader.Cbi.AutoTrade.FindAccountByName(String accountName)
at NinjaTrader.Cbi.AutoTrade.ProcessPlaceAndReverse(S tring line)
at NinjaTrader.Cbi.AutoTrade.ProcessOif(String line)
at NinjaTrader.Cbi.AutoTrade.ProcessFile(FileSystemEv entArgs e)
at System.IO.FileSystemWatcher.OnChanged(FileSystemEv entArgs e)
at System.IO.FileSystemWatcher.CompletionStatusChange d(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Comment