From aceb0f09d1878fa4423e096b79d141d009df55ad Mon Sep 17 00:00:00 2001 From: Chris Berkhout Date: Mon, 4 Apr 2022 12:48:39 +0200 Subject: [PATCH] Minor doc fixes. --- README.md | 4 ++-- src/pricehist/sources/alphavantage.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b72158b..1e7f35a 100644 --- a/README.md +++ b/README.md @@ -393,8 +393,8 @@ pricehist fetch coindesk BTC/USD --type close - **`close`** is the price type for the last price of each day. A BTC/USD price of the amount 29,391.775 can be written as -"BTC/USD = 29391.78" or "BTC 29391.78 USD", and means that one Bitcoin is -worth 29,391.78 United States Dollars. +"BTC/USD = 29391.775" or "BTC 29391.775 USD", and means that one Bitcoin is +worth 29,391.775 United States Dollars. ## Initial design choices diff --git a/src/pricehist/sources/alphavantage.py b/src/pricehist/sources/alphavantage.py index 84df4d9..707ba50 100644 --- a/src/pricehist/sources/alphavantage.py +++ b/src/pricehist/sources/alphavantage.py @@ -45,7 +45,7 @@ class AlphaVantage(BaseSource): "You should obtain a free API key from " "https://www.alphavantage.co/support/#api-key and set it in " f"the {self.API_KEY_NAME} environment variable ({keystatus}), " - "otherise, pricehist will attempt to use a generic key.\n" + "otherwise, pricehist will attempt to use a generic key.\n" "The PAIR for currencies should be in BASE/QUOTE form. The quote " "symbol must always be for a physical currency. The --symbols option " "will list all digital and physical currency symbols.\n" @@ -58,8 +58,8 @@ class AlphaVantage(BaseSource): "than using historical rates.\n" "Alpha Vantage's standard API call frequency limits is 5 calls per " "minute and 500 per day, so you may need to pause between successive " - "commands. Note that retrieving prices for one stock requires two " - "calls." + "commands. Note that retrieving prices for one stock consumes two " + "API calls." ) def _stock_symbols_message(self):