add TODOs
This commit is contained in:
@@ -151,3 +151,11 @@ while((nextUnstartedSymbolAndAsOfDate = await getNextUnstartedSymbolAndAsOfDate(
|
||||
console.log("Waiting till less than 50 in queue");
|
||||
await q.onSizeLessThan(50);
|
||||
}
|
||||
// wait until pending queue operations are done:
|
||||
await q.onSizeLessThan(1);
|
||||
|
||||
/*** TODOs ***/
|
||||
/*
|
||||
+ Gracefully recover from errors in individual operations.
|
||||
+ If program stops and is restarted, it should restart anything `pending`: erase existing option contracts for that symbol/asOfDate
|
||||
*/
|
||||
Reference in New Issue
Block a user