You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swap/src/asb/command.rs
+7
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
usecrate::bitcoin::Amount;
2
2
use bitcoin::util::amount::ParseAmountError;
3
3
use bitcoin::{Address,Denomination};
4
+
use rust_decimal::Decimal;
4
5
use std::path::PathBuf;
5
6
6
7
#[derive(structopt::StructOpt,Debug)]
@@ -27,6 +28,12 @@ pub enum Command {
27
28
Start{
28
29
#[structopt(long = "max-buy-btc", help = "The maximum amount of BTC the ASB is willing to buy.", default_value="0.005", parse(try_from_str = parse_btc))]
29
30
max_buy:Amount,
31
+
#[structopt(
32
+
long = "ask-spread",
33
+
help = "The spread in percent that should be applied to the asking price.",
0 commit comments