-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Bring up thetadata feature as datasource for backtesting Small feature changes: 1. Introduced a automatic holiday + weekends detection feature in thetadata_helper.py When see weekends or holiday, skip streaming data from thetadata 2. Handled error messages, in skip days, avoid print out any error messages 3. If there is data stream error in normal days, still print out errors as original logic does 4. Debugged thetadata feature, added summer vs winter timezone adjustment, subtracted 1 min from thetadata 5. thetadata_helper.py Will only consider trading day as start day when acquiring data from thetadata, no further history needed 6. Time sync handling:THetadata works with NewYork time, but polygon works with UTC time. Also ThetaData is 1 min late from polygon data Signed-off-by: Haochi Li <[email protected]>
- Loading branch information
Showing
13 changed files
with
371 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.