diff --git a/CHANGELOG.md b/CHANGELOG.md index 92d04ff..ed90d41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ All changes will be registered here per release. ## [0.8.6] - Current date +Added `Algorand / ALGO` Project/Token. Added `Dfinity / ICP` Project/Token. ## [0.8.6] - 2021-07-03 diff --git a/xtcryptosignals/client/static/imgs/logos/ALGO.png b/xtcryptosignals/client/static/imgs/logos/ALGO.png new file mode 100644 index 0000000..22eec1e Binary files /dev/null and b/xtcryptosignals/client/static/imgs/logos/ALGO.png differ diff --git a/xtcryptosignals/client/static/imgs/logos/ALGO@128.png b/xtcryptosignals/client/static/imgs/logos/ALGO@128.png new file mode 100644 index 0000000..fe67f3c Binary files /dev/null and b/xtcryptosignals/client/static/imgs/logos/ALGO@128.png differ diff --git a/xtcryptosignals/server/migrations/20211028181600_add_algorand.py b/xtcryptosignals/server/migrations/20211028181600_add_algorand.py new file mode 100644 index 0000000..43a3602 --- /dev/null +++ b/xtcryptosignals/server/migrations/20211028181600_add_algorand.py @@ -0,0 +1,35 @@ +__author__ = "Paulo Antunes" +__copyright__ = "Copyright 2018, XTCryptoSignals" +__credits__ = [ + "Paulo Antunes", +] +__license__ = "GPL" +__maintainer__ = "Paulo Antunes" +__email__ = "pjmlantunes@gmail.com" + + +from mongodb_migrations.base import BaseMigration +from xtcryptosignals.common.utils import use_mongodb +from xtcryptosignals.server.api.projects.models import Project +from xtcryptosignals.tasks import settings as s + + +PROJECTS = dict( + ALGO=dict( + name="Algorand", + website="https://algorand.com", + twitter="https://twitter.com/Algorand", + wikipedia="https://en.wikipedia.org/wiki/Algorand", + ), +) + + +class Migration(BaseMigration): + @use_mongodb(db=s.MONGODB_NAME, host=s.MONGODB_HOST, port=s.MONGODB_PORT) + def upgrade(self): + for k, v in PROJECTS.items(): + Project(**{**{"coin_or_token": k}, **v}).save() + print(f"Adding Project: {k}") + + def downgrade(self): + pass diff --git a/xtcryptosignals/settings_exchanges.py b/xtcryptosignals/settings_exchanges.py index 295a9e4..2fca432 100644 --- a/xtcryptosignals/settings_exchanges.py +++ b/xtcryptosignals/settings_exchanges.py @@ -94,6 +94,8 @@ ("LTO", "BTC"), ("FTM", "USDT"), ("FTM", "BTC"), + ("ALGO", "USDT"), + ("ALGO", "BTC"), ("ONT", "USDT"), ("HBAR", "USDT"), ("HBAR", "BTC"), @@ -335,6 +337,11 @@ "market_depth": {"exchange": BINANCE, "pairs": ["USDT", "BTC"]}, "is_defi": True, }, + "ALGO": { + "pair": "USDT", + "name": BINANCE, + "market_depth": {"exchange": BINANCE, "pairs": ["USDT", "BTC"]}, + }, "EWT": { "pair": "USDT", "name": KUCOIN,