Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using script results in Invalid Argument #1

Open
ArbiterOfTheiPhones opened this issue Sep 3, 2020 · 0 comments
Open

Using script results in Invalid Argument #1

ArbiterOfTheiPhones opened this issue Sep 3, 2020 · 0 comments

Comments

@ArbiterOfTheiPhones
Copy link

Hi Nigel,

This script would be EXTREMELY useful for automation converting hst to csv without having to manually go into the program, however when I run it, it doesn't work. Specifying any hst and csv for conversion results in Error 22, Invalid Argument. I type the command in format: mt4convert input.hst output.csv

but nothing happens.

Here is the output it gives me:

Traceback (most recent call last):
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\Scripts\mt4convert-script.py", line 11, in
load_entry_point('mt4reader==0.1.dev0', 'console_scripts', 'mt4convert')()
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 89, in main
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 73, in convert
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 65, in init
File "C:\Users\IBE\AppData\Local\Programs\Python\Python38\lib\site-packages\mt4reader-0.1.dev0-py3.8.egg\mt4reader_init_.py", line 31, in init
OSError: [Errno 22] Invalid argument

If you have the time, can you please tell me if I'm doing anything wrong or update the script if it is an error! This would be such a useful tool, but there is nothing else like it! All the indicators that do the same thing on metatrader 4 are obsolete, they don't work anymore. The others don't do what this does.

Stay safe!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant