11 Commits

Author SHA1 Message Date
ghubstan
034172b8f4
Tweak comment about encrypting wallet with CLI 2022-07-01 11:20:43 -03:00
ghubstan
e138d35761
Tidy up and document TakeBestPricedOfferToBuyBtc bot 2022-06-30 18:10:01 -03:00
ghubstan
49a8c61bd2
Refactor the TakeBestPricedOfferTo*Btc bots
The TakeBestPricedOfferTo*Btc needed to be split up so they are specific
to fiat offers, and this change adds new TakeBestPricedOfferTo*Xmr bots
just for XMR.

This simplifies the the non-bsq-swap bots;  documenting, coding,
configuring, and logging the taking of both fiat and xmr (altcoin)
offers in the same bots was getting confusing, and that's going to
turn away potential users.

This refactoring means there are six bots now, and it forced considerable
refactoring in all of them.

This commit is the bulk of the work for the PR, but there will be more
changes after everything is tested again, and comments are adjusted.
2022-06-28 19:52:05 -03:00
ghubstan
03102125b5
Read wallet password in bot instance, not main()
- Remove some duplicated code in the bots' main() methods.
- Validate wallet password first.
- Fix a bot config text alignment problem.
2022-06-26 11:52:46 -03:00
ghubstan
ee90359ebb
Delete bad log statement 2022-06-25 15:51:47 -03:00
ghubstan
0b245b9998
Show closed trades since midnight today
Don't show entire trade history at end of bot run.

Tweak some log statements.
2022-06-25 15:46:47 -03:00
ghubstan
bf876a9771
Fix 'is margin price >= target price' filter, and some typos 2022-06-25 12:25:50 -03:00
ghubstan
25f12c8232
Improve take offer criteria summary text 2022-06-25 11:45:35 -03:00
ghubstan
b8bec32574
Fix typo 2022-06-25 11:04:14 -03:00
ghubstan
b0b6c9c771
Uncomment wallet password prompt, and validate input during startup
- When bot is run from a *nix terminal, password input will not be echoed.
- When bot is run from an IDE, it's virtual terminal will echo the input
  (cannot be avoided).

Validate the input during startup, to fail early instead of waiting for
the right offer to take, then failing to unlock the wallet with an
incorrect password.
2022-06-25 11:00:28 -03:00
ghubstan
7281a764f8
Add new java bots for taking btc, xmr, and bsq swap offers
Details about each are in the java-docs.
2022-06-24 14:02:02 -03:00