Skip to content

Commit f9f4262

Browse files
committed
change style for plotting pprice
1 parent 22b8b17 commit f9f4262

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/plotting.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def plot_fills_forager(fdf: pd.DataFrame, hlcvs_df: pd.DataFrame, start_pct=0.0,
459459
pprices_long = pprices_long[pprices_long.psize != 0.0].pprice
460460
longs[longs.type.str.contains("entry")].price.plot(style="b.")
461461
longs[longs.type.str.contains("close")].price.plot(style="r.")
462-
pprices_long.plot(style="b--")
462+
pprices_long.plot(style="b|")
463463
legend.extend(
464464
[
465465
"entries_long",
@@ -473,7 +473,7 @@ def plot_fills_forager(fdf: pd.DataFrame, hlcvs_df: pd.DataFrame, start_pct=0.0,
473473
pprices_short = pprices_short[pprices_short.psize != 0.0].pprice
474474
shorts[shorts.type.str.contains("entry")].price.plot(style="mx")
475475
shorts[shorts.type.str.contains("close")].price.plot(style="cx")
476-
pprices_short.plot(style="r--")
476+
pprices_short.plot(style="r|")
477477
legend.extend(
478478
[
479479
"entries_short",

0 commit comments

Comments
 (0)