Skip to content

Commit

Permalink
Swap MACD signal and histogram values
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpolygon authored Sep 17, 2023
1 parent 3af9b98 commit 3c394fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polygon/rest/models/indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)


Expand Down

0 comments on commit 3c394fe

Please sign in to comment.