Skip to content

Commit 828f950

Browse files
authored
Merge pull request #839 from mominafiz/fix/coinbase-api-key-missing
fix: Coinbase missing API key and secret when starting scanner
2 parents 009be28 + 2cbc020 commit 828f950

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python Crypto Bot v8.2.3 (pycryptobot)
1+
# Python Crypto Bot v8.2.4 (pycryptobot)
22

33
[![Docker](https://github.com/whittlem/pycryptobot/actions/workflows/container.yml/badge.svg)](https://github.com/whittlem/pycryptobot/actions/workflows/container.yml/badge.svg) [![Tests](https://github.com/whittlem/pycryptobot/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/whittlem/pycryptobot/actions/workflows/unit-tests.yml/badge.svg)
44

@@ -38,10 +38,10 @@ Follow my Medium publication for PyCryptoBot articles
3838
For information about installing, using, and getting the most out of the bot... please refer to the articles on Medium!
3939

4040
Install and Setup of PyCryptoBot 7
41-
https://trading-data-analysis.pro/install-and-setup-of-pycryptobot-7-f1b2c832e795
41+
<https://trading-data-analysis.pro/install-and-setup-of-pycryptobot-7-f1b2c832e795>
4242

4343
PyCryptoBot 7 Live Test Results
44-
https://trading-data-analysis.pro/pycryptobot-7-live-test-results-b56316e0995c
44+
<https://trading-data-analysis.pro/pycryptobot-7-live-test-results-b56316e0995c>
4545

4646
PyCryptoBot 7 Configuration
47-
https://trading-data-analysis.pro/pycryptobot-7-configuration-e314931f94
47+
<https://trading-data-analysis.pro/pycryptobot-7-configuration-e314931f94>

scanner.py

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from models.Trading import TechnicalAnalysis
99
from models.exchange.binance import PublicAPI as BPublicAPI
1010
from models.exchange.coinbase import AuthAPI as CBAuthAPI
11+
from models.config.coinbase_parser import parser as coinbaseParser
1112
from models.exchange.coinbase_pro import PublicAPI as CPublicAPI
1213
from models.exchange.kucoin import PublicAPI as KPublicAPI
1314
from models.exchange.Granularity import Granularity
@@ -34,6 +35,8 @@
3435
if ex == Exchange.BINANCE:
3536
api = BPublicAPI(bot_config[ex.value]["api_url"])
3637
elif ex == Exchange.COINBASE:
38+
# Read config from key file
39+
coinbaseParser(app, bot_config[ex.value])
3740
api = CBAuthAPI(bot_config[ex.value]["api_key"], bot_config[ex.value]["api_secret"], bot_config[ex.value]["api_url"])
3841
elif ex == Exchange.COINBASEPRO:
3942
api = CPublicAPI()

0 commit comments

Comments
 (0)