question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RESOLVED] Ubuntu + Python+ Wine + MT4 + dwx-zeromq-connector

See original GitHub issue

Hello,

I am writing to tell you that I am happily using your in Linux development 😄

I am currently using this function to ask for open orders and perform a moviemto of SL if applicable, but I have found it difficult to have the dictionary that returns printed on the whole screen, which is not useful for debugging the code since the I am storing in a variable.

I enclose function that I use.

def alarma():
    try:
        while 1:
            _zmq._DWX_MTX_GET_ALL_OPEN_TRADES_()
            orden_open = _zmq._thread_data_output#Capturamos rps
       
            if(orden_open==None):
                pass
            else:
                 print("Ordenes Abiertas:",len(orden_open['_trades'].keys()))
                 time.sleep(6)


    except Exception as e:
        print("Error al obtener toda la data: ",e)

Could you tell me what should I do so that this is not done?

Congratulations again

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
TheChapuscommented, Nov 14, 2019

Great, have to continue “playing” with the “code”

1reaction
badgeekcommented, Nov 14, 2019

@TheChapus im not on vm, the problem is running it on osx with wine, i have it working in VM environment in windows 7, its just really cool when i can run it without VM

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot install Metatrader4 in Ubuntu 15 using wine
I just successfully installed MetaTrader 4 on Ubuntu 16.04, using the command provided by Michael. Thanks, Michael! I've been struggling for a while....
Read more >
Install on Linux - Getting Started - MetaTrader 4 Help
The terminal runs on Linux using Wine. Wine is a free compatibility layer that allows application software developed for Microsoft Windows to run....
Read more >
MT4/Wine/Ubuntu will not allow FileOpen
This produces an error 'Illegal escape sequence'. 1. I am using wine to run this and I made sure all the permissions were...
Read more >
Discussion of article "MetaTrader 5 on Linux" - page 4
Install wine-staging from winehq.org, Xenial repositories are outdated. OK, font problem solved! I was silly, forgot that there are 2 different ...
Read more >
MetaTrader 4 for Linux (Ubuntu) - Knowledge Base - FXOpen
It includes 1) installing Wine and 2) installing (opening) MT4 via Wine. * Wine is free software that allows users of the Unix-based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found