From 7a54c14b4334d1373fcb13c366102c4633405a52 Mon Sep 17 00:00:00 2001 From: Christopher Pepe Date: Thu, 2 Sep 2021 14:24:31 -0400 Subject: [PATCH] spelling and minor updates --- src/GDAXCurrencies.py | 3 ++- src/TradingBotConfig.py | 2 +- src/TransactionManager.py | 2 +- src/UIGraph.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/GDAXCurrencies.py b/src/GDAXCurrencies.py index 93c99ee..27f4ba2 100644 --- a/src/GDAXCurrencies.py +++ b/src/GDAXCurrencies.py @@ -15,7 +15,8 @@ def get_all_pairs(): "ETC-EUR", "BCH-BTC", "ETH-BTC", - "LTC-BTC" + "LTC-BTC", + "SOL-USD" ] @staticmethod diff --git a/src/TradingBotConfig.py b/src/TradingBotConfig.py index 45fcffc..0b486ef 100644 --- a/src/TradingBotConfig.py +++ b/src/TradingBotConfig.py @@ -8,7 +8,7 @@ CONFIG_INPUT_MODE_IS_REAL_MARKET = True # Main ticker : Retrieves the next samples and processes them -CONFIG_MAIN_TICK_DURATION_IN_MS = 200 +CONFIG_MAIN_TICK_DURATION_IN_MS = 10000 # Terrestrial time between two retrieved sample. #Should be equal to CONFIG_MAIN_TICK_DURATION_IN_MS in live mode, custom value in simulation mode that diff --git a/src/TransactionManager.py b/src/TransactionManager.py index bcc0694..886fa36 100644 --- a/src/TransactionManager.py +++ b/src/TransactionManager.py @@ -20,7 +20,7 @@ def __init__(self, GDAXControler, UIGraph, MarketData, Settings): self.FiatAccountBalance = 0 self.FIATAccountBalanceSimulated = 0 - self.initialFiatAccountBalance = 0 # Only necessary in Trading mode. In simulation mode, profit is only theoric + self.initialFiatAccountBalance = 0 # Only necessary in Trading mode. In simulation mode, profit is only theoretical self.initialInvestedFiatAmount = 0 self.CryptoAccountBalance = 0 self.cryptoAccountBalanceSimulated = 0 diff --git a/src/UIGraph.py b/src/UIGraph.py index 2becf5d..9b61d65 100644 --- a/src/UIGraph.py +++ b/src/UIGraph.py @@ -189,7 +189,7 @@ def __init__(self, QtApplication, Settings): # on the left shifting the whole graph def UIGR_ResetAllGraphData(self, applyToGraphs, startTimeStamp, nbPointsOnPlot): - print("UIGR - Reseting all graph data with applyToGraphs = %s, startTimeStamp = %s, nbPointsOnPlot = %s" % (applyToGraphs, startTimeStamp, nbPointsOnPlot)) + print("UIGR - Resetting all graph data with applyToGraphs = %s, startTimeStamp = %s, nbPointsOnPlot = %s" % (applyToGraphs, startTimeStamp, nbPointsOnPlot)) self.totalNbIterations = 0 self.totalNbGraphUpdates = 0 self.timeOfLastSampleDisplayed = 0