File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
33import json
44import re
5- import time , datetime
5+ import time
6+ import datetime
67
78from pandas import DataFrame , isnull , notnull , to_datetime
89
@@ -127,7 +128,8 @@ def url(self):
127128 def _get_params (self , symbol ):
128129 # This needed because yahoo returns data shifted by 4 hours ago.
129130 four_hours_in_seconds = 14400
130- # Use the difference between the unix_zero and start to prevent the bug occurrence of `OverflowError: mktime argument out of range`.
131+ # Use the difference between the unix_zero and start to prevent the bug occurrence of
132+ # `OverflowError: mktime argument out of range`.
131133 unix_zero = datetime .datetime (1970 , 1 , 1 , 8 )
132134 unix_start = int ((self .start - unix_zero ).total_seconds ())
133135 unix_start += four_hours_in_seconds
You can’t perform that action at this time.
0 commit comments