Rate parser / DONE

General instructions for setting up the parser

Parser catalogue

In the admin panel on the ‘Parsers’ page there is a list of all available parsers.

Parser block

  • By default, the parser is disabled, and the parser status is displayed below the parser logo. In this case it is Disabled. If the parser is active, the Active status will be displayed.

  • Below the logo is the name of the parser. This name can be used in the ‘Search’ field to find the required rate source.

  • The ‘Active rates’ field displays the total number of rates that are available for use.

  • The ‘Update’ field shows the time of the last update of the parser.

  • The parser is launched and configured on the settings page. To go to the settings page, you need to click on ‘More rates’ in the block with the required rate source.

Parser configuration

On the ‘Parser’ page, click on ‘More rates’ in the block with the required parser to go to the settings page of the required rate source.

On the parser settings page there are sections ‘Parserdata’ and ‘Active parser exchanges’.

Parser data

The ‘Update’ field displays the time of the last update of the parser rates.

Switching on, switching off and restarting

Switching on

In case the parser is not started - the status Inactive. is displayed under the logo . In order to switch on the parser it is necessary to:

  1. Move the slider opposite ‘Enable’ to the active position.

  2. Press ‘OK’ to confirm restart of -parser-rate and -api processes.

  3. Wait for two minutes without restarting and closing the settings page.

  4. Once the parser has successfully started, you will see a ‘Success’ notification.

  5. Reload the page. After reloading, the parser state should be Active and in the ‘Active Parser Exchanges’ section you will see the rates.

Switching off

В случае, если парсер запущен - под логотипомIn case the parser is running - the Active status is displayed under the logo. In order to disable the parser it is necessary to:

  1. Move the slider next to ‘Enable’ to the inactive position.

  2. Click ‘OK’ to confirm the restart of -parser-rate and -api processes.

  3. Wait for two minutes without restarting and closing the settings page.

  4. Once the parser has successfully started, you will see a "" notification.

  5. Reload the page. After reloading, the state of the parser should be Inactive.

Restart

Для тогоIn order to restart the parser you need to:

  1. Move the slider next to ‘Enable’ to the inactive position.

  2. Click "OK" to confirm the restart of the -parser-rate and -api processes.

  3. Wait two minutes without rebooting and closing the settings page.

  4. After successful launch of the parser, you will see the "" notification.

  5. Reload the page. After reloading, the parser state should be Inactive.

  6. Move the slider against ‘Enable’ to the active position.

  7. Click ‘OK’ to confirm restarting the -parser-rate and -api processes.

  8. t two minutes without restarting and closing the settings page.

  9. After the successful launch of the parser, you will see the "" notification.

  10. Reload the page. After reloading, the parser state should be Active, and rates will appear in the ‘Active Parser Exchanges’ section.

Proxy

The functionality is currently under development...

Configuration

In case the parser requires additional parameters for operation, the ‘Configuration’ section will contain fields for setting. You can find instructions on how to configure them in the documentation on the page of the required parser or check with BoxExchanger support.

Interval

In the ‘Interval’ field you can specify how often (in milliseconds) to update rates. Most stock exchange parsers update rates by socket. In this case, changing the interval will not affect the parser's work. Specifics of each parser can be found in the documentation on the page of the required parser or in BoxExchanger support

Active parser exchanges

Rate table

Direction
Purchase
Updated
Is it used?

Specifies the pair at which the rate is received. For example, BTC/USDT.

For BTC/USDT, the amount of USDT needed to buy a unit of BTC.

Time to update the rate for this pair.

Whether this pair is used in the direction/currency. This slider does not enable or disable the pair.

Rates for pairs for which the slider in the "Used" column is active are updated in priority.

In the search field you can find pairs of interest. The search works on the principle of a regular expression. For example, if you need to find the rate for the pair BTC/USDT, just enter BTC/USDT

Prioritising rate updates

There are two types of rates in the system when updating existing rates:

  1. Priority - rates that are already in use in the currency/destination. Such rates will be updated in priority. The system checks currencies and destinations every 5 minutes to update the list of rates that are in use

  2. Non-priority - rates that are not used in the currency/destination. Such rates will be updated on a first-come, first-served basis (50 rates/3 seconds).

Last updated