Skip to content

Commit

Permalink
Normalize producers cli
Browse files Browse the repository at this point in the history
  • Loading branch information
pantunes committed Jan 18, 2024
1 parent 56a6484 commit 3eb75aa
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion compose/producer/binance/start
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -o errexit
set -o pipefail
set -o nounset

exec poetry run producer ${BINANCE_COINS} --exchange Binance
exec poetry run producer ${BINANCE_COINS} --exchange binance
2 changes: 1 addition & 1 deletion compose/producer/coinbase/start
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -o errexit
set -o pipefail
set -o nounset

exec poetry run producer ${COINBASE_COINS} --exchange Coinbase
exec poetry run producer ${COINBASE_COINS} --exchange coinbase
2 changes: 1 addition & 1 deletion compose/producer/kraken/start
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -o errexit
set -o pipefail
set -o nounset

exec poetry run producer ${KRAKEN_COINS} --exchange Kraken
exec poetry run producer ${KRAKEN_COINS} --exchange kraken
2 changes: 1 addition & 1 deletion compose/producer/kucoin/start
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -o errexit
set -o pipefail
set -o nounset

exec poetry run producer ${KUCOIN_COINS} --exchange KuCoin
exec poetry run producer ${KUCOIN_COINS} --exchange kucoin
2 changes: 1 addition & 1 deletion compose/producer/okx/start
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -o errexit
set -o pipefail
set -o nounset

exec poetry run producer ${OKX_COINS} --exchange OKX
exec poetry run producer ${OKX_COINS} --exchange okx
10 changes: 5 additions & 5 deletions exchange_radar/producer/settings/exchanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from exchange_radar.producer.tasks.okx import OkxTradesTask

EXCHANGES = {
"Binance": BinanceTradesTask,
"KuCoin": KuCoinTradesTask,
"Coinbase": CoinbaseTradesTask,
"Kraken": KrakenTradesTask,
"OKX": OkxTradesTask,
"binance": BinanceTradesTask,
"kucoin": KuCoinTradesTask,
"coinbase": CoinbaseTradesTask,
"kraken": KrakenTradesTask,
"okx": OkxTradesTask,
}

0 comments on commit 3eb75aa

Please sign in to comment.