mirror of
https://github.com/chrisnov-it/quantumbotx.git
synced 2026-07-28 03:07:53 +00:00
20 lines
531 B
Python
20 lines
531 B
Python
import sys
|
|
import os
|
|
sys.path.append(os.getcwd())
|
|
|
|
try:
|
|
from core.strategies.strategy_map import STRATEGY_MAP
|
|
print("Successfully imported STRATEGY_MAP")
|
|
|
|
if 'INDEX_MOMENTUM' in STRATEGY_MAP:
|
|
print("INDEX_MOMENTUM found in STRATEGY_MAP")
|
|
strategy_class = STRATEGY_MAP['INDEX_MOMENTUM']
|
|
print(f"Strategy class: {strategy_class.__name__}")
|
|
else:
|
|
print("INDEX_MOMENTUM NOT found in STRATEGY_MAP")
|
|
exit(1)
|
|
|
|
except Exception as e:
|
|
print(f"Error: {e}")
|
|
exit(1)
|