Roffild's library - page 8

 
Aleksey Vyazmikin:
Also,is c4.8xlarge better thancc2.8xlarge (can't find those, and no description on them)?

There is a special instance:
cc2.8xlarge CPUs 32 Memory 60.5GiB SSD 4 x 840 GB
Priced between $0.20 and $0.30 per hour, which corresponds to instances with 16 CPUs. This instance has an obsolete status and may periodically disappear from the list of available instances. It makes sense to look at all 4 US regions for its availability before ordering an instance.

 
The C4.8xlarge has a newer processor.
 
Konstantin Nikitin:

Wine is quite flexible. But not everyone knows how to make it. It's easier to use a virtual machine

So I don't understand, is it possible to get any kind of user-friendly access there, with a mouse and icons :) ?

If so, how?
 
Roffild:
C4.8xlarge has a newer CPU.
Roffild:

There is a special instance:
cc2.8xlarge CPUs 32 Memory 60.5GiB SSD 4 x 840 GB
Priced between $0.20 and $0.30 per hour, which matches instances with 16 CPUs. This instance has an obsolete status and may periodically disappear from the list of available instances. It makes sense to look at all 4 US regions for its availability before ordering an instance.

I see, it's just that C4.8xlarge is much better value - you can get 36 cores there now for 0.317.

 

https://roffild.com/ru/PythonDLL.html

The main idea and difference between this wrapper and the others: exchanging data between MQL and Python via pre-created functions.

This is the fastest and most reliable method of exchanging data.

There is no time consuming parsing and compiling Python code, which appears when using eval().

class MQL():
    def getLong(self, magic: int, value: int, array: tuple) -> tuple or list:
        raise NotImplementedError

    def getULong(self, magic: int, value: int, array: tuple) -> tuple or list:
        raise NotImplementedError

    def getDouble(self, magic: int, value: float, array: tuple) -> tuple or list:
        raise NotImplementedError

    def getString(self, magic: int, value: str, array: bytes) -> str:
        raise NotImplementedError


__mql__ = MQL()

MetaTrader 5 (MQL5) + Python 3 DLL
  • roffild.com
Эта обертка создавалась с учетом изменений в Python 3.7 Главная идея и отличие этой обертки от остальных: обмен данными между MQL и Python через заранее созданные функции. Это самый быстрый и надежный метод обмена данными. Нет затрат времени на синтаксический разбор и компиляцию кода Python, который появляется при использовании eval(). Название...
 
 
Roffild:

https://roffild.com/ru/PythonDLL.html

The main idea and difference between this wrapper and the others: exchanging data between MQL and Python via pre-created functions.

This is the fastest and most reliable method of exchanging data.

There is no time consuming parsing and compiling Python code, which appears when using eval().


Optimisation using Python is possible using your wrapper?

 
Aleksey Vyazmikin:

Optimisation using python is possible using your wrapper?

Possible

 
Roffild:

Possible

And on network agents, how can this be organised?

 
Aleksey Vyazmikin:

And on network Agents, how do you organise this?

If the Agents computer has the same Python path as the host computer and the PATH variable also contains the path, it should work...