diff --git a/README.md b/README.md index fef983e..6f5cd95 100644 --- a/README.md +++ b/README.md @@ -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! @@ -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 diff --git a/optimal_buy_gdax/optimal_buy_gdax.py b/optimal_buy_gdax/optimal_buy_gdax.py index c6842f2..1a0955c 100755 --- a/optimal_buy_gdax/optimal_buy_gdax.py +++ b/optimal_buy_gdax/optimal_buy_gdax.py @@ -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)',