update for MA quant strategy
This commit is contained in:
parent
13cf259bb0
commit
4c7aad1633
Binary file not shown.
|
|
@ -110,7 +110,7 @@ class MaBreakStatistics:
|
|||
"symbols", ["000001.SH"]
|
||||
)
|
||||
self.bars = A_STOCK_MONITOR_CONFIG.get("volume_monitor", {}).get(
|
||||
"bars", ["5m"]
|
||||
"bars", ["1D"]
|
||||
)
|
||||
self.initial_date = A_STOCK_MONITOR_CONFIG.get("volume_monitor", {}).get(
|
||||
"initial_date", "2014-11-30 00:00:00"
|
||||
|
|
@ -121,7 +121,7 @@ class MaBreakStatistics:
|
|||
"symbols", ["000001.SH"]
|
||||
)
|
||||
self.bars = A_INDEX_MONITOR_CONFIG.get("volume_monitor", {}).get(
|
||||
"bars", ["5m"]
|
||||
"bars", ["1D"]
|
||||
)
|
||||
self.initial_date = A_INDEX_MONITOR_CONFIG.get("volume_monitor", {}).get(
|
||||
"initial_date", "2014-11-30 00:00:00"
|
||||
|
|
|
|||
|
|
@ -279,5 +279,5 @@ def profit_loss_ratio():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# batch_run_strategy()
|
||||
profit_loss_ratio()
|
||||
batch_run_strategy()
|
||||
# profit_loss_ratio()
|
||||
|
|
|
|||
Loading…
Reference in New Issue