Browse Source

bugfix: hap_csv_upload: correct ticker generation

master
Denis Tereshkin 5 years ago
parent
commit
2ee745a60b
  1. 2
      hap_csv_upload.py

2
hap_csv_upload.py

@ -126,7 +126,7 @@ def main():
if not matches: if not matches:
print('Invalid ticker id in file') print('Invalid ticker id in file')
return return
year_code = matches.group(3)[:-1] year_code = matches.group(3)[-1]
month_code = get_month_code(int(matches.group(2))) month_code = get_month_code(int(matches.group(2)))
out_ticker = base + month_code + year_code out_ticker = base + month_code + year_code

Loading…
Cancel
Save