openfund-taker 1.1.1__tar.gz → 1.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: openfund-taker
3
- Version: 1.1.1
3
+ Version: 1.1.3
4
4
  Summary: Openfund-taker
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "openfund-taker"
3
- version = "1.1.1"
3
+ version = "1.1.3"
4
4
  description = "Openfund-taker"
5
5
  authors = []
6
6
  readme = "README.md"
@@ -415,7 +415,8 @@ class MultiAssetNewTradingBot:
415
415
 
416
416
  stop_params = {
417
417
  'slTriggerPx':adjusted_price ,
418
- 'slOrdPx':'-1', # 委托价格为-1时,执行市价止损
418
+ # 'slOrdPx':'-1', # 委托价格为-1时,执行市价止损
419
+ 'slOrdPx' : adjusted_price,
419
420
  'slTriggerPxType':'mark',
420
421
  'tdMode':position['marginMode'],
421
422
  'sz': str(amount),
File without changes