Oleg
Employer

[no-member:pro]Oleg[/no-member:pro]

1 projects
Project parameters
Type of cooperationOne-time project
Prepaymentwithout prepayment
Payment methodsBank transfer, Electronic money
Acceptance of requestsfrom until Aug 1, 2023
Project description
Web developer services are required. Python scripts are required. I’m using the best examples to put everything together and connect it to RabbitMQ.
I don’t know Python very well, so I can’t finish it myself.

Task:
You need to create two Python scripts that communicate with the Interactive Brokers platform [hereinafter - IB] (library and working example connection - attach) and send information to the RabbitMQ queue (again, the standard library).

Important nuance:
When connecting to the platform, the client’s ordinal ID is indicated.
The client with the number “0” is always the main one, receiving all the information, unlike all other IDs “more than 0”.
In this regard, in any state/non-staff situations, disconnection from the IB platform must be performed correctly. Otherwise, you will be able to connect to the platform with Cleart ID=0 no earlier than half an hour / hour. Timeout from the platform and forced closing of the session.
Therefore, the stability of work is a key factor. We don't skimp on inspections, we shouldn't fall.

1. First script.

After launch:
* Supports a permanent (asynchronous) connection to the IB platform over the accesses specified in the configuration file;
* Supports a constant (asynchronous - 1 task is performed at 1 time) connection to the RabbitMQ server, listens to several queues for requests (list of all possible requests attached) + "subscribes" to the events of the IB platform and sends the necessary queue full information about these events for subsequent processing in another system;

2. Second script.

After launch:
* Supports a constant (synchronous - 1 task is performed at 1 time) connection to the RabbitMQ server, listens to several queues for queries (list of all possible requests attached);

Upon request, a message from the queue:
* Connects to the IB platform by accessing the message from the queue;
* Performing a mission;
Disconnect from the platform and await further instructions;

In the appendix, a more detailed task... In his words he tried to describe in detail.
+ example of connection to the TWS platform.
Project author: [no-member:pro]Oleg[/no-member:pro]