17 Commits

Author SHA1 Message Date
ghubstan
c5d0259833
Print the day's BSQ swaps after each completed swap 2022-06-26 12:24:23 -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
aee939a887
Make GrpcStubs channel closeable by calling bot
Each bot has its own gRPC channel and set of service stubs,
and a single bot's channel & stubs last the bot's lifetime.
However, RegtestTradePaymentSimulator instance is a bot too, with it's
own channel & stubs, which should be closed at the end of each run().
2022-06-25 14:11:06 -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
8c3b9756ff
Set root logger level to INFO 2022-06-24 14:02:55 -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
ghubstan
6422ac0cab
Copy bisq.cli's console output fmt api, grpc utils
Use the existing Bisq API CLI utils for making calls to the daemon,
and formatting responses.

When/if the CLI is released on jitpack, this code can be removed
from this repo, and loaded from a gradle dependency.
2022-06-24 14:00:41 -03:00
ghubstan
e890e0384d
Fix getnetwork, getavgbsqprice example filenames for doc generator 2022-06-23 15:27:43 -03:00
ghubstan
07a8777ae8
Add getnetwork, getavgbsqprice examples 2022-06-23 14:48:11 -03:00
ghubstan
85e0b2c4f4
Version the proto directories, but not the .proto files 2022-03-19 13:34:25 -03:00
ghubstan
3aeeb5f4d9
Rename java & python pkgs, make python setup easier 2022-03-17 17:24:47 -03:00
ghubstan
cffbfcf481
Split API examples & doc generator into separate modules
This might give Python devs an easier time than if all the sample
code lived deep inside a gradle project.  This means there is
no root project gradle build file;  the reference-doc-builder and
java-examples modules are separate java projects, with their own
build files.
2022-03-16 17:21:25 -03:00