Fake Opening and Closing of Positions by Robots.

Fake Opening and Closing of Positions by Robots.

In this article, we will take a closer look at the mechanism for creating "Fake Positions."

This is necessary when the position on the exchange and the positions held by robots differ for some reasons, and you want to correct it.

We will examine the interface of the simplified versions of the tester and trading station.

Why do robots have their own positions that differ from what is in the portfolio on the exchange: link

Position auto-comparison module: link

 

1. Opening a Fake Position.

WARNING! Positions opened in this way are not "Emulated" and are treated by the robot as real.

To open such a position for the robot, you need to open its window and click the "More" button in the order book tab:

A position creation window will open:

1. Information about the robot and the source.

2. Order book of the trading instrument.

3. Tabs with various ways to open a position. We are interested in "Fake."

1. Set the time of the fake position opening.

2. Set the price of the fake position opening.

3. Set the volume.

4. Click "Buy" or "Sell," depending on the direction you need.

After clicking the "Buy" button, the robot will have a position with the specified parameters:

 

2. Closing a Previously Opened Position with a Fake Order.

First, you need to open the robot's window:

1. Click on the position in the opened positions table that you want to close.

2. In the pop-up menu, select "Close Selected."

A position closing window will appear:

1. Summary information about the position.

2. Quotation order book.

3. Various ways to close the position. We need the "Fake" tab.

1. Set the time of the fake position opening.

2. Set the price of the fake position opening.

3. Set the volume.

4. Click "Close."

After this, the position moves to "Closed Positions":

Good luck with your algorithms!

Support for OsEngine: https://t.me/osengine_support_english