Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/GDAXCurrencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def get_all_pairs():
"ETC-EUR",
"BCH-BTC",
"ETH-BTC",
"LTC-BTC"
"LTC-BTC",
"SOL-USD"
]

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion src/TradingBotConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment on line 14 suggests that this should be 10000 and not 200. What is the significance of it differing?


# 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
Expand Down
2 changes: 1 addition & 1 deletion src/TransactionManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/UIGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down