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.

In order to reduce the load on your system, you should disable parsers that you are not using.
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, theActivestatus 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.
If the parser assumes frequent updating of rates, for example, once every 30 seconds, but the rates have not been updated in the ‘Update’ field for a minute or more, it is necessary to restart the parser. If restarting the parser does not help, you should contact BoxExchanger support.
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:
Move the slider opposite ‘Enable’ to the active position.
Press ‘OK’ to confirm restart of -parser-rate and -api processes.
Wait for two minutes without restarting and closing the settings page.
Once the parser has successfully started, you will see a ‘Success’ notification.
Reload the page. After reloading, the parser state should be
Activeand 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:
Move the slider next to ‘Enable’ to the inactive position.
Click ‘OK’ to confirm the restart of -parser-rate and -api processes.
Wait for two minutes without restarting and closing the settings page.
Once the parser has successfully started, you will see a "Success" notification.
Reload the page. After reloading, the state of the parser should be
Inactive.
Restart
Для тогоIn order to restart the parser you need to:
Move the slider next to ‘Enable’ to the inactive position.
Click "OK" to confirm the restart of the -parser-rate and -api processes.
Wait two minutes without rebooting and closing the settings page.
After successful launch of the parser, you will see the "Success" notification.
Reload the page. After reloading, the parser state should be
Inactive.Move the slider against ‘Enable’ to the active position.
Click ‘OK’ to confirm restarting the -parser-rate and -api processes.
Wait two minutes without restarting and closing the settings page.
After the successful launch of the parser, you will see the "Success" notification.
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
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.
Search
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:
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
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