sleeyax / voltra

Cross-market volatile cryptocurrency trading bot
GNU General Public License v3.0
29 stars 2 forks source link

fix: filter coins by pair_with when allow_list is empty #14

Closed Newtoniano closed 2 months ago

Newtoniano commented 2 months ago

This PR fixes a bug where all coins would be traded if the allow_list was empty, regardless of their quote currency. The expected behavior is to check and trade only the coins with the quote asset defined in the pair_with config setting.

It may be beneficial to ensure that the 'pair_with' setting in the configuration file is not left empty. However, this is not addressed in this PR.