jgtfx2console 0.4.25__py3-none-any.whl → 0.4.26__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -232,6 +232,9 @@ def parse_xml(config_file):
232
232
  if output_dir == '' or output_dir is None or output_dir=='0':
233
233
  output_dir = os.getenv('JGTPY_DATA') or jgtconf.get('JGTPY_DATA')
234
234
  dt_separator = find_in_tree(settings, "DateTimeSeparator").text
235
+
236
+ if dt_separator == '' or dt_separator is None:
237
+ dt_separator = ' '
235
238
  fdp = find_in_tree(settings, "FormatDecimalPlaces").text
236
239
  tzone = find_in_tree(settings, "Timezone").text
237
240
 
@@ -245,7 +248,7 @@ def parse_xml(config_file):
245
248
  print("Connection: " + str_connection)
246
249
  #print("Session ID: " + str_session_id)
247
250
  #print("Pin: " + str_pin)
248
- print("Delimiter: " + delim)
251
+ #print("Delimiter: " + delim)
249
252
  print("Output Directory: " + output_dir)
250
253
  print("DateTime Separator: " + dt_separator)
251
254
  print("Format Decimal Places: " + fdp)
jgtfx2console/__init__.py CHANGED
@@ -42,6 +42,6 @@ with warnings.catch_warnings():
42
42
  # your code here
43
43
 
44
44
 
45
- __version__ = "0.4.25"
45
+ __version__ = "0.4.26"
46
46
 
47
47
 
@@ -25,7 +25,7 @@ def generate_config(instruments, timeframes, nb_bar=500, default_headers="DateTi
25
25
  ET.SubElement(settings, 'SessionID').text = ''
26
26
  ET.SubElement(settings, 'Pin').text = ''
27
27
  ET.SubElement(settings, 'Delimiter').text = ','
28
- ET.SubElement(settings, 'DateTimeSeparator').text = 'T'
28
+ ET.SubElement(settings, 'DateTimeSeparator').text = ' '
29
29
  ET.SubElement(settings, 'FormatDecimalPlaces').text = 'Y'
30
30
  ET.SubElement(settings, 'Timezone').text = 'UTC'
31
31
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jgtfx2console
3
- Version: 0.4.25
3
+ Version: 0.4.26
4
4
  Summary: PDS Services
5
5
  Home-page: https://github.com/jgwill/jgtfx2console
6
6
  Author: GUillaume Isabelle
@@ -1,6 +1,6 @@
1
- jgtfx2console/LiveChartDataExport.py,sha256=Diqo49bOOLlqMF4spwcmpH5iNakmvx5z5zHFKhYwrOo,15202
2
- jgtfx2console/__init__.py,sha256=qCXvl6d-owP1Mqjn9nUmNOik2ZjZc8nW_LGZoWaNgpw,1611
3
- jgtfx2console/config_generator.py,sha256=hJ7P9luXFxY2E8YsOCI51tFtQMXEM4uA3IPeuP7GZeo,2827
1
+ jgtfx2console/LiveChartDataExport.py,sha256=AuC1h4Fel-GVwutfaL_j-s29bLvXyiMI7t7tBN79iBA,15282
2
+ jgtfx2console/__init__.py,sha256=dkNr0WX5aYZjXfAheGmaX5o_axFMA2L5hbzO1sxYwH4,1611
3
+ jgtfx2console/config_generator.py,sha256=gzLLmXl4sjRcH4QuPD3DEdN_5WfeEqmkq6PzkNJqodU,2827
4
4
  jgtfx2console/fxcli2console.py,sha256=oI4d01jkXNriP2tF8aHcdep_r2YORWMfSnysrIHEAqQ,7426
5
5
  jgtfx2console/forexconnect/EachRowListener.py,sha256=jbRaSqhHtoaRnEnLGoUmVLvE6VPt-WXYtglRPzK440k,1649
6
6
  jgtfx2console/forexconnect/ForexConnect.py,sha256=Yf6AcLdgMSD8rd1s2DTIJPfzJ7BljIaZy_8vTfPfSOI,25755
@@ -31,9 +31,9 @@ jgtfx2console/forexconnect/lib/linux/libpython3.7m.so,sha256=UQzwU5QcaVnwQdt2yXi
31
31
  jgtfx2console/forexconnect/lib/linux/libquotesmgr2.so.2.8,sha256=QIUMvjI-4m3YX3N23Pad9TIhYbmk17raTTW0gyrElkM,1245248
32
32
  jgtfx2console/forexconnect/lib/linux/libsqlite3.8.so,sha256=aqjV6ZcluDkzyr_bbWQCOHt9uitLvp7uPS-53Z3toQk,641120
33
33
  jgtfx2console/forexconnect/lib/linux/requirements.txt,sha256=62zntle4oq_jlsvrAK1bbfgYvAcRPtVHkGYu_eWiRZs,77
34
- jgtfx2console-0.4.25.dist-info/LICENSE,sha256=uCA_HysYVK9qIMbDEFjcDYhCoKTg19AJhKhM71EKSGA,1086
35
- jgtfx2console-0.4.25.dist-info/METADATA,sha256=WpDxbDMVR16g1kITAe5NkOEm-Ps8W6bnsUAgradajS8,2201
36
- jgtfx2console-0.4.25.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
- jgtfx2console-0.4.25.dist-info/entry_points.txt,sha256=5-2VwwmwQtOqI0d2qvq3Lupgu9sUVe8S6zOYf-9whQ4,164
38
- jgtfx2console-0.4.25.dist-info/top_level.txt,sha256=PBNCBgqX42I7ctUTX9FcTnIX0utvgRqzuflefzZ30D8,14
39
- jgtfx2console-0.4.25.dist-info/RECORD,,
34
+ jgtfx2console-0.4.26.dist-info/LICENSE,sha256=uCA_HysYVK9qIMbDEFjcDYhCoKTg19AJhKhM71EKSGA,1086
35
+ jgtfx2console-0.4.26.dist-info/METADATA,sha256=DnqD1uqLOiafN2h0AEYLX0gGC_0ZQ8MHdT_9MjdNxhk,2201
36
+ jgtfx2console-0.4.26.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
37
+ jgtfx2console-0.4.26.dist-info/entry_points.txt,sha256=5-2VwwmwQtOqI0d2qvq3Lupgu9sUVe8S6zOYf-9whQ4,164
38
+ jgtfx2console-0.4.26.dist-info/top_level.txt,sha256=PBNCBgqX42I7ctUTX9FcTnIX0utvgRqzuflefzZ30D8,14
39
+ jgtfx2console-0.4.26.dist-info/RECORD,,