Compare commits

..

1 Commits

Author SHA1 Message Date
Nelson Torres 54e5f4bb4e Add Plot
Here is the `plot_graph()` that is in char of the bars and scatter plot items.

Also all the necessary code  for the graph to be shown.
2025-02-04 00:30:09 -03:00
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ async def max_pain_daemon(
total_val = float(intrinsic_values[strike_str]['total']) / 100000
scatter_iv = ScatterPlotItem(
x=[strike - 100],
x=[strike],
y=[total_val],
pen=pg.mkPen(color=(0, 255, 0), width=2),
brush=pg.mkBrush(0, 255, 0, 150),