diff --git a/polygon/rest/models/indicators.py b/polygon/rest/models/indicators.py index 81252477..aedada5a 100644 --- a/polygon/rest/models/indicators.py +++ b/polygon/rest/models/indicators.py @@ -31,8 +31,8 @@ def from_dict(d): return MACDIndicatorValue( timestamp=d.get("timestamp", None), value=d.get("value", None), - signal=d.get("histogram", None), - histogram=d.get("signal", None), + signal=d.get("signal", None), + histogram=d.get("histogram", None), )