Rate parser / DONE
General instructions for setting up the parser
Last updated
General instructions for setting up the parser
Last updated
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.
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.
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.
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’.
The ‘Update’ field displays the time of the last update of the parser rates.
Switching on, switching off and restarting
Proxy
The functionality is currently under development...
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.
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
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
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).