samsonleegh commited on
Commit
3578ca8
·
verified ·
1 Parent(s): 71a249c

Update hl_indicators_server.py

Browse files
Files changed (1) hide show
  1. hl_indicators_server.py +2 -1
hl_indicators_server.py CHANGED
@@ -54,7 +54,7 @@ def bundle(
54
  profile: str = "default",
55
  include_signals: bool = True,
56
  exclude_current_bar: bool = True,
57
- return_last_only: bool = False,
58
  indicator_params: Optional[Dict[str, Dict[str, Any]]] = None,
59
  ) -> Dict[str, Any]:
60
  """Bundle multiple indicators into one JSON payload.
@@ -69,6 +69,7 @@ def bundle(
69
  Choose a preset with `profile` or pass `include` explicitly. Merges
70
  `indicator_params` into per-indicator calls.
71
  """
 
72
  indicator_params = indicator_params or {}
73
  include_list = list(include) if include else PROFILES.get(profile, PROFILES["default"])
74
 
 
54
  profile: str = "default",
55
  include_signals: bool = True,
56
  exclude_current_bar: bool = True,
57
+ # return_last_only: bool = False,
58
  indicator_params: Optional[Dict[str, Dict[str, Any]]] = None,
59
  ) -> Dict[str, Any]:
60
  """Bundle multiple indicators into one JSON payload.
 
69
  Choose a preset with `profile` or pass `include` explicitly. Merges
70
  `indicator_params` into per-indicator calls.
71
  """
72
+ return_last_only = False
73
  indicator_params = indicator_params or {}
74
  include_list = list(include) if include else PROFILES.get(profile, PROFILES["default"])
75