=== PROCESS BATCH RESULTS ===
Processed: 355/500 tickers
toInclude: 4 tickers
Tickers to include: AVPT, AVUV, BE, BJ
Processing results: 355 succeeded
Updated status for 355 items to “completed”
New York time is 8:1 >——->—–>——-> Market CLOSED <—–<—–<—–<
List to be reviewed : exclusiveDataFetching
Debug: Main list size: 14026
Debug: Status field size: 14958
Debug: Difference: -14026 items
Data consistency check complete. Total tickers: 14958, status: 14958, claimedBy: 14958, claimTime: 14958
=== ENSURING DATA CONSISTENCY ===
Data consistency ensured – using current file state
After save – AVPT: inclusive=0, exclusive=1 ❌
After save – AVUV: inclusive=0, exclusive=1 ❌
After save – BE: inclusive=0, exclusive=1 ❌
After save – BJ: inclusive=0, exclusive=1 ❌
Exclusive list: uploading because toInclude has 4 items
[08:01:59] Starting updateAndUpload for exclusiveDataFetching (List: DataFetching)
=== FINAL OVERALL CHECK ===
FINAL RESULT – AWK: inclusive=0, exclusive=1 ❌
FINAL RESULT – B: inclusive=0, exclusive=1 ❌
FINAL RESULT – BDX: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRBR: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRKR: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRX: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRZE: inclusive=0, exclusive=1 ❌
FINAL RESULT – BSY: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTC: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTDR: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTSG: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTU: inclusive=0, exclusive=1 ❌
FINAL RESULT – BUG: inclusive=0, exclusive=1 ❌
FINAL RESULT – BULL: inclusive=0, exclusive=1 ❌
FINAL RESULT – BURL: inclusive=0, exclusive=1 ❌
FINAL RESULT – BW: inclusive=0, exclusive=1 ❌
OVERALL RESULT: SOME TICKERS FAILED
ListUpdated=1, toExclude=484, toInclude=16
New York time is 7:48 >——->—–>——-> Market CLOSED <—–<—–<————>—–>——-> Market CLOSED <—–<—–<————>—–>——-> Market CLOSED <—–<—–<—–<
=========== Market is closed, waiting for it to open ===========
Local locking is not established, try it again.
Creating FTP connection for lock acquisition for: CombinedPortfolioRanking
FTP connection successful on attempt 1
✅ No stale or orphaned locks found
Creating ftp lock file: GLOBAL_CombinedPortfolioRanking_ComputerID6007_20260721123414.lock
We are now using the ftp server for this stock : ===> CombinedPortfolioRanking cleanupOldFiles (line 523)
allFtpFiles = allFtpFiles(keepIdx);
^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 318)
cleanupOldFiles(ftpObj, ‘temp’, 1, localFolder, remoteFolder, BaseFolder, []);
Local locking is not established, try it again.
Creating FTP connection for lock acquisition for: CombinedPortfolioRanking
FTP connection successful on attempt 1
✅ No stale or orphaned locks found
Creating ftp lock file: GLOBAL_CombinedPortfolioRanking_ComputerID6007_20260721123414.lock
We are now using the ftp server for this stock : ===> CombinedPortfolioRanking cleanupOldFiles (line 523)
allFtpFiles = allFtpFiles(keepIdx);
^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 318)
cleanupOldFiles(ftpObj, ‘temp’, 1, localFolder, remoteFolder, BaseFolder, []);
We are now using the ftp server for this stock : ===> StockListsUS StockListsUS_temp StockListsUS StockListsUS StockListsUS StockListsUS StockListsUS StockListsUS StockListsUS <=== (Session 8003)
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
🔓 Local Lock Released: StockListsUS (Instance 8003)
Error using loadLocalFile (line 124)
loadLocalFile: Could not load /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat after 10 attempts.
New York time is 13:19 <——-<———->—–>
FTP connection successful on attempt 1
✅ Local Lock Acquired: ===> StockListsUS StockListsUS <=== (Instance 1010)
🔓 Local Lock Released: StockListsUS (Instance 1010)
Data consistency check complete. Total tickers: 14265, status: 14265, claimedBy: 14265, claimTime: 14265
=== SYSTEM STATE ===
Pending: 14265, Processing: 0, Completed: 0
=== POST-RESET VERIFICATION ===
Pending: 14265, Processing: 0, Completed: 0
=== Current Claim Status 1 ===
Dot indexing is not supported for variables of this type.
Error in InclusiveExclusiveListReview (line 151)
fprintf('Pending items: %d\n', sum(strcmpi(loadedData.status, 'pending')));
New York time is 13:3 <——-<———->—–>
FTP connection successful on attempt 1
✅ Local Lock Acquired: ===> StockListsUS StockListsUS ListServerFiles (line 1810)
allFiles = dir(ftpObject);
In NewLonKongftp>robustFtpDownload (line 589)
[~, allFiles] = ListServerFiles(ftpObj, localFolder, remoteFolder);
FTP connection successful on attempt 1
🔁 REENTRANT LOCK: Computer 1010 already owns (depth=2) – SKIPPING for StockListsUS
FTP connection successful on attempt 1
Last ftp operation was over 70 minutes ago – cleaning old temp/backup files…
=== Cleaning old files with patterns: _backup_ ===
=== Cleanup complete ===
=== Cleaning old files with patterns: _temp_, temp, temp_, temp_v ===
=== Cleanup complete ===
Downloading………………….. StockListsUS.mat…………………………..
Remote file size: 125565 bytes
Download verified: StockListsUS.mat (size: 125565 bytes)
Successfully downloaded StockListsUS.mat
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Failed to verify downloaded file after 3 attempts
Retrying download… (attempt 2/3)
Trying backup file: StockListsUS.mat
Downloading………………….. StockListsUS.mat…………………………..
Remote file size: 125565 bytes
Download verified: StockListsUS.mat (size: 125565 bytes)
Successfully downloaded StockListsUS.mat
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Failed to verify downloaded file after 3 attempts
Failed to download StockListsUS.mat after 3 attempts
Failed to download the file StockListsUS.mat
🔁 REENTRANT RELEASE: Depth now 1 for StockListsUS (computer 1010)
Global ftp lock released for StockListsUS.mat
Successfully uploaded to the ftp server, and the lock file will soon be released.
Done with the ftp transaction, it has taken 116 seconds or about 2 minutes to transfer the file File Name Here .
=== STALE CLAIM CLEANUP ===
Array sizes – status: 13170, claimedBy: 39094
❌ Array size mismatch – repairing before cleanup
After repair – status: 39094, claimedBy: 39094
Found 4180 items claimed by other computers
Computer 13426594: 2000 claims
Computer 74653056: 2000 claims
Computer 75390070: 180 claims
List exclusiveDataFetching: pending=9127, processing=4180
Time since last update: 0.0 minutes
Claims are recent, not resetting any.
=== SYSTEM STATE ===
Pending: 34914, Processing: 4180, Completed: 0
=== POST-RESET VERIFICATION ===
Pending: 34914, Processing: 4180, Completed: 0
=== Current Claim Status 1 ===
Dot indexing is not supported for variables of this type.
Error in InclusiveExclusiveListReview (line 124)
fprintf(‘Pending items: %d\n’, sum(strcmpi(loadedData.status, ‘pending’)));
Creating ftp lock file: GLOBAL_StockListsUS_ComputerID1010_20260717121404.lock
We are now using the ftp server for this stock : ===> StockListsUS <=== other computers have to wait now …
We have now booked the ftp server, it has taken about 57 seconds to open the booking !
FTP connection successful on attempt 1
Last ftp operation was over 70 minutes ago – cleaning old temp/backup files…
=== Cleaning old files with patterns: _backup_ ===
=== Cleanup complete ===
=== Cleaning old files with patterns: _temp_, temp, temp_, temp_v ===
=== Cleanup complete ===
Downloading………………….. StockListsUS.mat…………………………..
Remote file size: 1876 bytes
Download verified: StockListsUS.mat (size: 1876 bytes)
Successfully downloaded StockListsUS.mat
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Failed to verify downloaded file after 3 attempts
Retrying download… (attempt 2/3)
Trying backup file: StockListsUS_temp_20260717121335.mat
Done with the ftp transaction, it has taken 119 seconds or about 2 minutes to transfer the file File Name Here .
✅ Local Lock Acquired: ===> StockListsUS <=== (Instance 1010)
🔓 Local Lock Released: StockListsUS (Instance 1010)
=== STALE CLAIM CLEANUP ===
Array sizes – status: 6, claimedBy: 6
Found 0 items claimed by other computers
No cross-computer claims found
=== SYSTEM STATE ===
Pending: 6, Processing: 0, Completed: 0
=== POST-RESET VERIFICATION ===
Pending: 6, Processing: 0, Completed: 0
=== Current Claim Status 1 ===
Dot indexing is not supported for variables of this type.
Error in InclusiveExclusiveListReview (line 124)
fprintf('Pending items: %d\n', sum(strcmpi(loadedData.status, 'pending')));
%————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%acquireLocalLock (line 222)
In localBooking (line 79)
success = acquireLocalLock(lockFolder, baseLockFile, baseName, instanceID);
%————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%acquireLocalLock (line 222)
>> %————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
% StockListsUS >
>> %————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%>
>> %————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%<———–5.1————
Local Lock Acquired: ===> IBTWS IBTWSBooking <=== other computers have to wait now …
We have now booked the TWS, it has taken about 6 seconds to open the booking !
Local Lock Acquired: ===> IBTWS IBTWSBooking <=== other computers have to wait now …
We have now booked the TWS, it has taken about 6 seconds to open the booking !
=== PROCESS BATCH RESULTS ===
Processed: 355/500 tickers
toInclude: 4 tickers
Tickers to include: AVPT, AVUV, BE, BJ
Processing results: 355 succeeded
Updated status for 355 items to “completed”
New York time is 8:1 >——->—–>——-> Market CLOSED <—–<—–<—–<
List to be reviewed : exclusiveDataFetching
Debug: Main list size: 14026
Debug: Status field size: 14958
Debug: Difference: -14026 items
Data consistency check complete. Total tickers: 14958, status: 14958, claimedBy: 14958, claimTime: 14958
=== ENSURING DATA CONSISTENCY ===
Data consistency ensured – using current file state
After save – AVPT: inclusive=0, exclusive=1 ❌
After save – AVUV: inclusive=0, exclusive=1 ❌
After save – BE: inclusive=0, exclusive=1 ❌
After save – BJ: inclusive=0, exclusive=1 ❌
Exclusive list: uploading because toInclude has 4 items
[08:01:59] Starting updateAndUpload for exclusiveDataFetching (List: DataFetching)
=== FINAL OVERALL CHECK ===
FINAL RESULT – AWK: inclusive=0, exclusive=1 ❌
FINAL RESULT – B: inclusive=0, exclusive=1 ❌
FINAL RESULT – BDX: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRBR: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRKR: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRX: inclusive=0, exclusive=1 ❌
FINAL RESULT – BRZE: inclusive=0, exclusive=1 ❌
FINAL RESULT – BSY: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTC: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTDR: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTSG: inclusive=0, exclusive=1 ❌
FINAL RESULT – BTU: inclusive=0, exclusive=1 ❌
FINAL RESULT – BUG: inclusive=0, exclusive=1 ❌
FINAL RESULT – BULL: inclusive=0, exclusive=1 ❌
FINAL RESULT – BURL: inclusive=0, exclusive=1 ❌
FINAL RESULT – BW: inclusive=0, exclusive=1 ❌
OVERALL RESULT: SOME TICKERS FAILED
ListUpdated=1, toExclude=484, toInclude=16
New York time is 7:48 >——->—–>——-> Market CLOSED <—–<—–<————>—–>——-> Market CLOSED <—–<—–<————>—–>——-> Market CLOSED <—–<—–<—–<
=========== Market is closed, waiting for it to open ===========
Market will open soon !, in about 102 minutes .
=== Cleaning old files with patterns: _backup_ ===
FTP: Deleted 0 old files
The logical indices contain a true value outside of the array bounds.
Error in NewLonKongftp>cleanupOldFiles (line 575)
allLocalFiles = allLocalFiles(keepIdx);
^^^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 317)
cleanupOldFiles(ftpObj, ‘_backup_’, 1, localFolder, remoteFolder, BaseFolder, []);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Local locking is not established, try it again.
Creating FTP connection for lock acquisition for: CombinedPortfolioRanking
FTP connection successful on attempt 1
✅ No stale or orphaned locks found
GLOBAL_CombinedNonEquities_ComputerID6005_20260721093524.lock GLOBAL_USIndexes_ComputerID2005_20260721090741.lock
GLOBAL_StockListsUS_ComputerID1003_20260721091109.lock GLOBAL_USNonEquitiesList6_ComputerID8005_20260720155908.lock
Creating ftp lock file: GLOBAL_CombinedPortfolioRanking_ComputerID6007_20260721123414.lock
We are now using the ftp server for this stock : ===> CombinedPortfolioRanking cleanupOldFiles (line 523)
allFtpFiles = allFtpFiles(keepIdx);
^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 318)
cleanupOldFiles(ftpObj, ‘temp’, 1, localFolder, remoteFolder, BaseFolder, []);
Local locking is not established, try it again.
Creating FTP connection for lock acquisition for: CombinedPortfolioRanking
FTP connection successful on attempt 1
✅ No stale or orphaned locks found
GLOBAL_CombinedNonEquities_ComputerID6005_20260721093524.lock GLOBAL_USIndexes_ComputerID2005_20260721090741.lock
GLOBAL_StockListsUS_ComputerID1003_20260721091109.lock GLOBAL_USNonEquitiesList6_ComputerID8005_20260720155908.lock
Creating ftp lock file: GLOBAL_CombinedPortfolioRanking_ComputerID6007_20260721123414.lock
We are now using the ftp server for this stock : ===> CombinedPortfolioRanking cleanupOldFiles (line 523)
allFtpFiles = allFtpFiles(keepIdx);
^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 318)
cleanupOldFiles(ftpObj, ‘temp’, 1, localFolder, remoteFolder, BaseFolder, []);
=== Cleaning old files with patterns: _temp_, temp ===
The logical indices contain a true value outside of the array bounds.
Error in NewLonKongftp>cleanupOldFiles (line 516)
allFtpFiles = allFtpFiles(keepIdx);
^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 318)
cleanupOldFiles(ftpObj, ‘temp’, 1, localFolder, remoteFolder, BaseFolder, []);
Index exceeds array bounds.
Error in matlab.io.ftp.replaceSymlinks (line 14)
listing(ii).name = names{ii};
^^^^^^^^^
Error in matlab.io.FTP/dir>case12Parse (line 183)
listing = matlab.io.ftp.replaceSymlinks(listing, names);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.io.FTP/dir (line 72)
varargout{1} = case12Parse(obj, options, listing, …
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in NewLonKongftp (line 340)
fileList = dir(ftpObj, [baseName, ‘_temp_*’, fileExt]);
We are now using the ftp server for this stock : ===> StockListsUS StockListsUS_temp StockListsUS StockListsUS StockListsUS StockListsUS StockListsUS StockListsUS StockListsUS <=== (Session 8003)
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
File not found, waiting…
🔓 Local Lock Released: StockListsUS (Instance 8003)
Error using loadLocalFile (line 124)
loadLocalFile: Could not load /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat after 10 attempts.
Error in InclusiveExclusiveList (line 891)
[loadingSuccess,newLoadedData] = loadLocalFile(localFolder,ListDataFile);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in TechnicalPointsOfASetAuto (line 271)
[~, ExclusiveStatus] = InclusiveExclusiveList(StockCode, 'DataFetching', InclusiveInput, ExclusiveInput, AddStockCode);
New York time is 13:19 <——-<———->—–>
FTP connection successful on attempt 1
✅ Local Lock Acquired: ===> StockListsUS StockListsUS <=== (Instance 1010)
🔓 Local Lock Released: StockListsUS (Instance 1010)
Data consistency check complete. Total tickers: 14265, status: 14265, claimedBy: 14265, claimTime: 14265
=== SYSTEM STATE ===
Pending: 14265, Processing: 0, Completed: 0
=== POST-RESET VERIFICATION ===
Pending: 14265, Processing: 0, Completed: 0
=== Current Claim Status 1 ===
Dot indexing is not supported for variables of this type.
Error in InclusiveExclusiveListReview (line 151)
fprintf('Pending items: %d\n', sum(strcmpi(loadedData.status, 'pending')));
New York time is 13:3 <——-<———->—–>
FTP connection successful on attempt 1
✅ Local Lock Acquired: ===> StockListsUS StockListsUS ListServerFiles (line 1810)
allFiles = dir(ftpObject);
In NewLonKongftp>robustFtpDownload (line 589)
[~, allFiles] = ListServerFiles(ftpObj, localFolder, remoteFolder);
In NewLonKongftp (line 351)
[downloadingSuccess, ~] = robustFtpDownload(ftpObj, latestFile, localFolder, remoteFolder, mergeWithLocal, isOptional);
In InclusiveExclusiveListReview (line 62)
[FileTransferStatus,ftpObjTrading] = NewLonKongftp(UpLoadFileName, DownLoadFileName,UpLoad, DownLoad, localFolder, remoteFolder);
FTP connection successful on attempt 1
🔁 REENTRANT LOCK: Computer 1010 already owns (depth=2) – SKIPPING for StockListsUS
FTP connection successful on attempt 1
Last ftp operation was over 70 minutes ago – cleaning old temp/backup files…
=== Cleaning old files with patterns: _backup_ ===
=== Cleanup complete ===
=== Cleaning old files with patterns: _temp_, temp, temp_, temp_v ===
=== Cleanup complete ===
Downloading………………….. StockListsUS.mat…………………………..
Remote file size: 125565 bytes
Download verified: StockListsUS.mat (size: 125565 bytes)
Successfully downloaded StockListsUS.mat
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Failed to verify downloaded file after 3 attempts
Retrying download… (attempt 2/3)
Trying backup file: StockListsUS.mat
Downloading………………….. StockListsUS.mat…………………………..
Remote file size: 125565 bytes
Download verified: StockListsUS.mat (size: 125565 bytes)
Successfully downloaded StockListsUS.mat
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Failed to verify downloaded file after 3 attempts
Failed to download StockListsUS.mat after 3 attempts
Failed to download the file StockListsUS.mat
🔁 REENTRANT RELEASE: Depth now 1 for StockListsUS (computer 1010)
Global ftp lock released for StockListsUS.mat
Successfully uploaded to the ftp server, and the lock file will soon be released.
Done with the ftp transaction, it has taken 116 seconds or about 2 minutes to transfer the file File Name Here .
=== STALE CLAIM CLEANUP ===
Array sizes – status: 13170, claimedBy: 39094
❌ Array size mismatch – repairing before cleanup
After repair – status: 39094, claimedBy: 39094
Found 4180 items claimed by other computers
Computer 13426594: 2000 claims
Computer 74653056: 2000 claims
Computer 75390070: 180 claims
List exclusiveDataFetching: pending=9127, processing=4180
Time since last update: 0.0 minutes
Claims are recent, not resetting any.
=== SYSTEM STATE ===
Pending: 34914, Processing: 4180, Completed: 0
=== POST-RESET VERIFICATION ===
Pending: 34914, Processing: 4180, Completed: 0
=== Current Claim Status 1 ===
Dot indexing is not supported for variables of this type.
Error in InclusiveExclusiveListReview (line 124)
fprintf(‘Pending items: %d\n’, sum(strcmpi(loadedData.status, ‘pending’)));
Creating ftp lock file: GLOBAL_StockListsUS_ComputerID1010_20260717121404.lock
We are now using the ftp server for this stock : ===> StockListsUS <=== other computers have to wait now …
We have now booked the ftp server, it has taken about 57 seconds to open the booking !
FTP connection successful on attempt 1
Last ftp operation was over 70 minutes ago – cleaning old temp/backup files…
=== Cleaning old files with patterns: _backup_ ===
=== Cleanup complete ===
=== Cleaning old files with patterns: _temp_, temp, temp_, temp_v ===
=== Cleanup complete ===
Downloading………………….. StockListsUS.mat…………………………..
Remote file size: 1876 bytes
Download verified: StockListsUS.mat (size: 1876 bytes)
Successfully downloaded StockListsUS.mat
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Warning: Loaded data from /Volumes/BarnUniJahr/StockPrograms/rawdata/StockListsUS/StockListsUS.mat is empty or invalid
Failed to verify downloaded file after 3 attempts
Retrying download… (attempt 2/3)
Trying backup file: StockListsUS_temp_20260717121335.mat
Done with the ftp transaction, it has taken 119 seconds or about 2 minutes to transfer the file File Name Here .
✅ Local Lock Acquired: ===> StockListsUS <=== (Instance 1010)
🔓 Local Lock Released: StockListsUS (Instance 1010)
=== STALE CLAIM CLEANUP ===
Array sizes – status: 6, claimedBy: 6
Found 0 items claimed by other computers
No cross-computer claims found
=== SYSTEM STATE ===
Pending: 6, Processing: 0, Completed: 0
=== POST-RESET VERIFICATION ===
Pending: 6, Processing: 0, Completed: 0
=== Current Claim Status 1 ===
Dot indexing is not supported for variables of this type.
Error in InclusiveExclusiveListReview (line 124)
fprintf('Pending items: %d\n', sum(strcmpi(loadedData.status, 'pending')));
The file StockListsUS.mat is modified for CTMX at :
ans =
datetime
17-Jul-2026 00:10:12
Successfully updated the downloaded file with modified lists.
Error using contains
First argument must be text.
Error in NewLonKongftp (line 66)
contains(DownLoadFileName, ‘USIndexes’, ‘IgnoreCase’, true)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in InclusiveExclusiveList (line 900)
[FileTransferStatus, ~] = NewLonKongftp(‘StockListsUS.mat’, [], UpLoad, DownLoad, localFolder, remoteFolder);
%————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%acquireLocalLock (line 222)
In localBooking (line 79)
success = acquireLocalLock(lockFolder, baseLockFile, baseName, instanceID);
%————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%acquireLocalLock (line 222)
In localBooking (line 79)
success = acquireLocalLock(lockFolder, baseLockFile, baseName, instanceID);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> %————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
% StockListsUS >
>> %————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%>
>> %————5.1———–>
% Get file parts
[~, baseName, fileExt] = fileparts(‘StockListsUS.mat’);
% Acquire local & global locks first
localBlockingStatus = localBooking(1, baseName);
while localBlockingStatus ~= 1
localBlockingStatus = localBooking(1, baseName);
disp(‘ Local locking is not established, try it again in 0.5 s. ‘);
pause(0.5)
end
%<———–5.1————
Local Lock Acquired: ===> IBTWS IBTWSBooking <=== other computers have to wait now …
We have now booked the TWS, it has taken about 6 seconds to open the booking !
Local Lock Acquired: ===> IBTWS IBTWSBooking <=== other computers have to wait now …
We have now booked the TWS, it has taken about 6 seconds to open the booking !