Tweak threads and timeouts for Robinhood feed

This commit is contained in:
2025-10-17 20:53:34 -04:00
parent 1bf9021671
commit 19cdd1359a

View File

@@ -114,8 +114,8 @@ namespace MarketData.Helper
public bool UpdatePricesRobinhood(DateTime startDate)
{
Profiler profiler = new Profiler();
int maxThreads = 15; // I am tweaking these to back into a total runtime of 40 minutes for all stocks. maxThreads=10 waitBetweenRequests=500 = 86 minutes
int waitBetweenRequests = 250;
int maxThreads = 20; // I am tweaking these to back into a total runtime of 40 minutes for all stocks. maxThreads=10 waitBetweenRequests=500 = 86 minutes
int waitBetweenRequests = 200;
try
{