openfund-taker 2.3.5__py3-none-any.whl → 2.3.7__py3-none-any.whl
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.
- {openfund_taker-2.3.5.dist-info → openfund_taker-2.3.7.dist-info}/METADATA +1 -1
- {openfund_taker-2.3.5.dist-info → openfund_taker-2.3.7.dist-info}/RECORD +5 -5
- taker/BestTopDownStrategyTaker.py +7 -2
- {openfund_taker-2.3.5.dist-info → openfund_taker-2.3.7.dist-info}/WHEEL +0 -0
- {openfund_taker-2.3.5.dist-info → openfund_taker-2.3.7.dist-info}/entry_points.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
taker/BestTopDownStrategyTaker.py,sha256=
|
1
|
+
taker/BestTopDownStrategyTaker.py,sha256=fo9YWiXm3LP19VztFqoA3vEwMZHYo5B7ST-WyKjLEJE,11963
|
2
2
|
taker/SMCSLAndTPTaker.py,sha256=zJCtwyzIuDtbxMdLOwRbpUE60o9fKe-tNWuiuej4RGs,27621
|
3
3
|
taker/StrategyTaker.py,sha256=VCRc-QmhYAODfnc7yG6EpfilO2A-11L7dKQSkHykTuU,27686
|
4
4
|
taker/ThreeLineTradingTaker.py,sha256=NGEXd4baCfzF4ToGb9tQWXRMweFBpImyh2v4WcKLK3A,20580
|
@@ -12,7 +12,7 @@ taker/history_code/chua_ok_all.py,sha256=2XnZM6QdB3juSE1pqQIJyh2x1XuhlTlnBKNA3ow
|
|
12
12
|
taker/history_code/chua_ok_bot.py,sha256=9SW0ujhi6PfN4yR1JZ9NaA37HtnXJ2QAWUfW52NG68w,13109
|
13
13
|
taker/history_code/config.py,sha256=YPxghO5i0vgRg9Cja8kGj9O7pgSbbtzOgf3RexqXXwY,1188
|
14
14
|
taker/main.py,sha256=3ebFQDeKR4qF2pmOszK1UXx2XZFUHaaq86MUfJwVfvw,2103
|
15
|
-
openfund_taker-2.3.
|
16
|
-
openfund_taker-2.3.
|
17
|
-
openfund_taker-2.3.
|
18
|
-
openfund_taker-2.3.
|
15
|
+
openfund_taker-2.3.7.dist-info/METADATA,sha256=qLUbkfhHZ0lbohtJSK9f1zxJKTpQI7c_TXb-VVYGSGg,7575
|
16
|
+
openfund_taker-2.3.7.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
17
|
+
openfund_taker-2.3.7.dist-info/entry_points.txt,sha256=a7mG8F7aOA5-Gk2vPWuAR4537faxaHUgM_jwIDBZoEc,50
|
18
|
+
openfund_taker-2.3.7.dist-info/RECORD,,
|
@@ -192,8 +192,13 @@ class BestTopDownStrategyTaker(StrategyTaker):
|
|
192
192
|
self.cancel_all_algo_orders(symbol=symbol, attachType=self.SL_KEY)
|
193
193
|
self.set_stop_loss(symbol=symbol, position=position, sl_price=sl_price)
|
194
194
|
else:
|
195
|
-
|
196
|
-
|
195
|
+
# FIX BUG 06262110
|
196
|
+
# self.logger.debug(f"{symbol} : ATF {atf} {pos_side} 未重置SL。SL价格 = {sl_price:.{precision}f} "
|
197
|
+
# f"最新价格 = {position[self.MARK_PRICE_KEY]:.{precision}f} last_sl={latest_sl_price:.{precision}f}")
|
198
|
+
latest_sl_price_display = f"{latest_sl_price:.{precision}f}" if latest_sl_price is not None else "未设置"
|
199
|
+
log_message = (f"最新价格 = {position[self.MARK_PRICE_KEY]:.{precision}f} "
|
200
|
+
f"last_sl={latest_sl_price_display}")
|
201
|
+
self.logger.debug(log_message)
|
197
202
|
@override
|
198
203
|
def process_pair(self, symbol: str, position, pair_config: dict) -> None:
|
199
204
|
"""
|
File without changes
|
File without changes
|