Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add api trade simulation scripts #5093

Merged
merged 41 commits into from
Jan 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5538914
Add line break
ghubstan Jan 16, 2021
ef4acc0
Make opt description generic
ghubstan Jan 16, 2021
629f408
Add method help docs
ghubstan Jan 16, 2021
03f6c2a
Add method help docs
ghubstan Jan 16, 2021
d14fc40
Fix help text typos
ghubstan Jan 16, 2021
68092a0
Add --memo opt to help text
ghubstan Jan 16, 2021
cde9a6d
Add method help docs
ghubstan Jan 16, 2021
dab65e7
Fix typo
ghubstan Jan 16, 2021
a133b0d
Add method help doc
ghubstan Jan 16, 2021
9efeee8
Explain example
ghubstan Jan 16, 2021
13d0d3e
Add method help doc
ghubstan Jan 16, 2021
44c1192
Add method help docs
ghubstan Jan 17, 2021
04657d9
Explain example
ghubstan Jan 17, 2021
8907d6b
Keep CLI method enum members in alphabetical order
ghubstan Jan 17, 2021
fbc31a5
Merge branch 'master' into 01-add-method-help-docs
ghubstan Jan 19, 2021
873c661
Add api trade simulation scripts
ghubstan Jan 19, 2021
93c3735
Fix bash bugs & style problems for codacy
ghubstan Jan 19, 2021
48a326b
Add env requirement and usage comments
ghubstan Jan 19, 2021
cf419d2
Make price request frequency configurable
ghubstan Jan 19, 2021
4eabb98
Fix indentation
ghubstan Jan 20, 2021
71ffa0f
Explain that paid tx fees are forfeited
ghubstan Jan 20, 2021
8675841
Fix punctuation
ghubstan Jan 20, 2021
fce3aab
Improve description
ghubstan Jan 20, 2021
031b18e
Fix typo
ghubstan Jan 20, 2021
11096d5
Fix tx-fee-rate opt description
ghubstan Jan 20, 2021
72731e5
Add parens around (sats/byte)
ghubstan Jan 20, 2021
67eed01
Fix tx-fee-rate opt description
ghubstan Jan 20, 2021
73c6b3d
Fix typo, group mutually exclusive opts around '||'
ghubstan Jan 20, 2021
6c322d4
Put $N variable references in double quotes
ghubstan Jan 20, 2021
0c06abd
Replace shortform '. with longform 'source'
ghubstan Jan 20, 2021
8b4938a
Do not export vars from lowest level child script
ghubstan Jan 20, 2021
cb96f27
Remove uneeded ${curlies}
ghubstan Jan 20, 2021
078f010
Remove api dev/test log statement
ghubstan Jan 20, 2021
3244db1
Print current market price just before offer is created
ghubstan Jan 20, 2021
ced422e
Add new api CLI method 'getbtcprice'
ghubstan Jan 20, 2021
20e1649
Get current mkt price from server, not directly from feed
ghubstan Jan 20, 2021
7fa61c9
Remove deprecated python script
ghubstan Jan 20, 2021
78d0024
Re-add exports to make codacy happy
ghubstan Jan 20, 2021
184ffd1
Enclose $vars in double quotes
ghubstan Jan 20, 2021
d18b2d5
Run an async price feed request when CLI needs market price
ghubstan Jan 20, 2021
b2d8faf
Log price feed request warnings, do not throw to CLI
ghubstan Jan 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Re-add exports to make codacy happy
  • Loading branch information
ghubstan committed Jan 20, 2021

Unverified

This user has not yet uploaded their public signing key.
commit 78d00243687cf2a62f22bd19a5316ec43f139984
10 changes: 5 additions & 5 deletions apitest/scripts/trade-simulation-env.sh
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

# This file must be sourced by the main driver.

CLI_BASE="./bisq-cli --password=xyz"
ARBITRATOR_PORT=9997
ALICE_PORT=9998
BOB_PORT=9999
F2F_ACCT_FORM="f2f-acct.json"
export CLI_BASE="./bisq-cli --password=xyz"
export ARBITRATOR_PORT=9997
export ALICE_PORT=9998
export BOB_PORT=9999
export F2F_ACCT_FORM="f2f-acct.json"
ghubstan marked this conversation as resolved.
Show resolved Hide resolved

checksetup() {
apitestusage() {