Created
March 17, 2020 17:11
-
-
Save lamres/b26121f36114058e614e61baf52f8f84 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import backtrader.feeds as btfeed | |
class FinamHLOC(btfeed.GenericCSVData): | |
params = ( | |
('dtformat', ('%Y%m%d')), | |
('tmformat', ('%H%M%S')), | |
('datetime', 2), | |
('time', 3), | |
('high', 5), | |
('low', 6), | |
('open', 4), | |
('close', 7), | |
('volume', 8) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment