~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to data/generate_rate.py

  • Committer: jf
  • Date: 2022-02-01 10:24:52 UTC
  • mfrom: (173.1.1 sync-env)
  • Revision ID: jfb@tempo-consulting.fr-20220201102452-rndr3uvmo030kqlf
[MERGE] US-9423: instance registration: do not validate an instance with no group on the sync server

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
from mx import DateTime
3
3
date_now = DateTime.now()+DateTime.RelativeDateTime(day=1)
4
4
#for base in ['eur', 'chf']:
5
 
date_from = DateTime.strptime('2022-01-01', '%Y-%m-%d')
 
5
date_from = DateTime.strptime('2020-01-01', '%Y-%m-%d')
6
6
feur = open('eur.txt', 'w')
7
7
fchf = open('chf.txt', 'w')
8
8