WhiteBit Exchanger auto update fee
Instructions for setting up the WhiteBit Exchanger auto update fee module
Last updated
Instructions for setting up the WhiteBit Exchanger auto update fee module
Last updated
The "WhiteBit Exchanger auto update fee" module allows for the automatic setting of the "Fee Amount" and "Loss Amount" parameters in directions where the whitebit payout module is used for the withdrawal currency. The values for these parameters are set according to the fees for withdrawing currency on the whitebit exchange: https://whitebit.com/ru/fees.
Using the parameters below, install the module via the "Install plugin" functionality according to instructions Install plugin / DONE.
In the admin panel of the script, go to the "Additional Modules" page "MODULE SYSTEM" the settings icon in the block for the "WhiteBIT auto-update out fee" module.
To enable the module, go to the settings page for "WhiteBit Exchanger auto update fee" enter the value "1" in the "Enable module" field -> click "Save."
By default, the enabled module sets the value only for the "Loss Amount" parameter in the direction.
If you also need to set the "Fee Amount," you must enable the "Enable Update 'Fee Amount'" field.
In the "Enable Update 'Fee Amount'" field, select one of the options from the table below -> Click "Save."
0 | 1 |
---|---|
For the ‘Fee method’ field, select one of the options from the table below -> Click ‘Save’.
For the "Routes detect by" field, select one of the options from the table below -> Click "Save."
In the "Check routes" field, specify:
Directory path мof the whitebit payout module(s) if you selected "List of Payout key(s)" in step 5. You can find the module directory path on the payout module settings page in the address bar. .
Example: whitebit,whitebit-2
-> Click "Save".
XML валют, if you selected "List of XML(s)" in step 5. Specify the XMLs in the format: XML1,XML2,XML3
(uppercase, separated by commas without spaces).
Example: USDTTRC20,BTC,ETH,TRX,USDTERC20
-> Click "Save".
In the "Ignore routes by ID" field, you can specify the route IDs of directions that the module will ignore when setting the "Loss Amount" and "Fee Amount" values.
Example: 662b69be181771c84d8176a8,662b69be181771c84d8176a9
-> Click "Save".
routeid
You can find directions on the directions settings page in the address bar. Example in the hot
Sixty seconds after saving the parameters above, the module will set the "Loss Amount" and "Fee Amount" values (if the "Enable Update 'Fee Amount'" field is enabled) for directions that meet the criteria. Every 60 seconds, the module updates the "Loss Amount" and "Fee Amount" if the withdrawal fee for the currency on Whitebit has changed. For example, this scenario is relevant for Ethereum (ERC20) network tokens, as Whitebit applies a dynamic withdrawal fee for such tokens.
Public | Private |
---|---|
List of Payout key(s) | List of XML(s) |
---|---|
The value should be "0" if you do not require the module to automatically set the "Fee Amount."
The value should be "1" if you require the module to automatically set the "Fee Amount."
"Public" if you do not have unique withdrawal fees for your Whitebit account.
"Private," in case unique withdrawal fees are set for your Whitebit account.
Please note that if you choose the "Private" method, you must also enter the API Key and API Secret for Whitebit in the corresponding fields on the module settings page.
With this parameter enabled, the module will set the values for "Loss Amount" and "Fee Amount" (if the "Enable Update 'Fee amount'" field is enabled) only for routes where the whitebit payout module is used as the withdrawal currency (to be specified in the next field, "Check routes").
With this parameter enabled, the module will set the values for "Loss Amount" and "Fee Amount" (if the "Enable Update 'Fee amount'" field is enabled) for routes where the currency (the XML to be specified in the next field, "Check routes") is used as the withdrawal currency.