sentiment investor key is unused, only token is used (#1453)

This commit is contained in:
didierlopes.eth
2022-03-09 01:14:56 +00:00
committed by GitHub
parent 97b7f03dd8
commit f69bd5b449
3 changed files with 3 additions and 11 deletions

View File

@@ -5,6 +5,8 @@ import sys
import os
from typing import List
# pylint: disable=W0105
"""
Disables this for a better solution. Here is the code to add in custom pre-commit items
- repo: local
@@ -56,7 +58,7 @@ settings = {
"API_BINANCE_SECRET": 'API_BINANCE_SECRET = os.getenv("GT_API_BINANCE_SECRET") or "REPLACE_ME"',
"API_FINNHUB_KEY": 'API_FINNHUB_KEY = os.getenv("GT_API_FINNHUB_KEY") or "REPLACE_ME"',
"API_IEX_TOKEN": 'API_IEX_TOKEN = os.getenv("GT_API_IEX_KEY") or "REPLACE_ME"',
"API_SENTIMENTINVESTOR_KEY": 'API_SENTIMENTINVESTOR_KEY = os.getenv("GT_API_SENTIMENTINVESTOR_KEY") or "REPLACE_ME"',
"API_SENTIMENTINVESTOR_TOKEN": 'API_SENTIMENTINVESTOR_TOKEN = os.getenv("GT_API_SENTIMENTINVESTOR_TOKEN") or "REPLACE_ME"', # noqa
"API_COINBASE_KEY": 'API_COINBASE_KEY = os.getenv("GT_API_COINBASE_KEY") or "REPLACE_ME"',
"API_COINBASE_SECRET": 'API_COINBASE_SECRET = os.getenv("GT_API_COINBASE_SECRET") or "REPLACE_ME"',
"API_COINBASE_PASS_PHRASE": 'API_COINBASE_PASS_PHRASE = os.getenv("GT_API_COINBASE_PASS_PHRASE") or "REPLACE_ME"',

1
docker/setenv vendored
View File

@@ -20,7 +20,6 @@ GT_API_BINANCE_KEY=
GT_API_BINANCE_SECRET=
GT_API_FINNHUB_KEY=
GT_API_IEX_KEY=
GT_API_SENTIMENTINVESTOR_KEY=
GT_API_SENTIMENTINVESTOR_TOKEN=
GT_API_COINBASE_KEY=
GT_API_COINBASE_SECRET=

View File

@@ -404,15 +404,6 @@
"default": "REPLACE_ME",
"value": ""
},
"GT_API_SENTIMENTINVESTOR_KEY":
{
"type": "string",
"form": "password",
"title": "Sentimentinvestor key",
"description": "https://www.sentimentinvestor.com",
"default": "REPLACE_ME",
"value": ""
},
"GT_API_SENTIMENTINVESTOR_TOKEN":
{
"type": "string",