Closed kenorb closed 8 years ago
I've this:
name =
description = ^@utures
backgroundColor = 0
name =
description = ^@ICEX
backgroundColor = 0
name =
description = ^@TS
backgroundColor = 0
name =
description = ^@PBEX
backgroundColor = 0
name =
description = ^@ong Kong Stock Exchange
backgroundColor = 0
So looks like it's cut off and name is most of the time empty (if that's correct, that's fine).
Also it's possible that when using with head
the Exception message won't show?
$ python3 read_symbols.py -t symgroups -i symgroups.raw | head
...
name = CFD
description = Contract For Difference
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
File: symgroups.raw
Can't do much wrt the leading NULs, the entry's encoded that way into the file...
And I have no problem with less
, can't say what's wrong there
Fixed in #46
Write a new script in Python 3 which will print the values from
symgroups.raw
file to the output (similar to otherread_symbols_x
scripts).Can be in any output format, but format of fields should match its type (ask/bid should print float, time should print time, etc).
Related: #33, #41
Format reference:
symgroups.raw.h
Check samples files symgroups.raw-samples.zip or they can be generated by installing MT4 platform.