bitunix-automated-crypto-trading 3.0.2__tar.gz → 3.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/PKG-INFO +1 -1
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/BitunixSignal.py +2 -1
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading.egg-info/PKG-INFO +1 -1
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/setup.py +1 -1
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/README.md +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/AsyncThreadRunner.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/BitunixApi.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/BitunixWebSocket.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/DataFrameHtmlRenderer.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/NotificationManager.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/ThreadManager.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/TickerManager.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/__init__.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/bitunix.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/config.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading/logger.py +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading.egg-info/SOURCES.txt +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading.egg-info/dependency_links.txt +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading.egg-info/entry_points.txt +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading.egg-info/requires.txt +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/bitunix_automated_crypto_trading.egg-info/top_level.txt +0 -0
- {bitunix_automated_crypto_trading-3.0.2 → bitunix_automated_crypto_trading-3.0.4}/setup.cfg +0 -0
@@ -496,8 +496,9 @@ class BitunixSignal:
|
|
496
496
|
try:
|
497
497
|
self.positionHistoryData = await self.bitunixApi.GetPositionHistoryData()
|
498
498
|
if self.positionHistoryData and 'positionList' in self.positionHistoryData:
|
499
|
-
self.positionHistorydf = pd.DataFrame(self.positionHistoryData['positionList'], columns=["symbol", "side","realizedPNL", "ctime", "maxQty", "closePrice","fee", "funding"])
|
499
|
+
self.positionHistorydf = pd.DataFrame(self.positionHistoryData['positionList'], columns=["symbol", "side","realizedPNL", "ctime", "mtime","maxQty", "closePrice","fee", "funding"])
|
500
500
|
self.positionHistorydf['ctime'] = pd.to_datetime(self.positionHistorydf['ctime'].astype(float), unit='ms').dt.tz_localize('UTC').dt.tz_convert(cst).dt.strftime('%Y-%m-%d %H:%M:%S')
|
501
|
+
self.positionHistorydf['mtime'] = pd.to_datetime(self.positionHistorydf['mtime'].astype(float), unit='ms').dt.tz_localize('UTC').dt.tz_convert(cst).dt.strftime('%Y-%m-%d %H:%M:%S')
|
501
502
|
self.positionHistorydf['charts'] = self.positionHistorydf.apply(self.add_charts_button, axis=1)
|
502
503
|
self.positionHistorydf['bitunix'] = self.positionHistorydf.apply(self.add_bitunix_button, axis=1)
|
503
504
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|