Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Jun 6, 2018
1 parent 207296a commit 60f30ff
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
57 changes: 29 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,17 @@ developer toolbar,

# Configuration

usage: optimal-buy-gdax.py [-h] --mode MODE [--amount AMOUNT] --key KEY
--b64secret B64SECRET --passphrase PASSPHRASE
[--api-url API_URL]
[--payment-method-id PAYMENT_METHOD_ID]
[--starting-discount STARTING_DISCOUNT]
[--discount-step DISCOUNT_STEP]
[--order-count ORDER_COUNT]
[--fiat-currency FIAT_CURRENCY]
[--withdrawal-amount WITHDRAWAL_AMOUNT]
[--db-engine DB_ENGINE] [--max-retries MAX_RETRIES]
[--coins COINS]
usage: optimal-buy-gdax [-h] --mode MODE [--amount AMOUNT] --key KEY
--b64secret B64SECRET --passphrase PASSPHRASE
[--api-url API_URL]
[--payment-method-id PAYMENT_METHOD_ID]
[--starting-discount STARTING_DISCOUNT]
[--discount-step DISCOUNT_STEP]
[--order-count ORDER_COUNT]
[--fiat-currency FIAT_CURRENCY]
[--withdrawal-amount WITHDRAWAL_AMOUNT]
[--db-engine DB_ENGINE] [--max-retries MAX_RETRIES]
[--coins COINS]

Buy coins!

Expand Down Expand Up @@ -170,23 +170,24 @@ developer toolbar,
string.

Default coins are as follows:
{
"BTC":{
"name":"Bitcoin",
"withdrawal_address":null,
"external_balance":0
},
"ETH":{
"name":"Ethereum",
"withdrawal_address":null,
"external_balance":0
},
"LTC":{
"name":"Litecoin",
"withdrawal_address":null,
"external_balance":0
}
}
{
"BTC":{
"name":"Bitcoin",
"withdrawal_address":null,
"external_balance":0
},
"ETH":{
"name":"Ethereum",
"withdrawal_address":null,
"external_balance":0
},
"LTC":{
"name":"Litecoin",
"withdrawal_address":null,
"external_balance":0
}
}


# Details on the orders placed

Expand Down
2 changes: 1 addition & 1 deletion optimal_buy_gdax/optimal_buy_gdax.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def main():
parser.add_argument('--fiat-currency', help='Fiat currency (default: USD)',
default='USD')
parser.add_argument('--withdrawal-amount', help='withdraw when fiat '
'balance drops below this amount (default: 10)',
'balance drops below this amount (default: 25)',
type=float, default=25)
parser.add_argument('--db-engine', help='SQLAlchemy DB engine '
'(default: sqlite:///gdax_history.db)',
Expand Down

0 comments on commit 60f30ff

Please sign in to comment.