Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -0
src/streamlit_app.py
CHANGED
|
@@ -236,6 +236,7 @@ def main():
|
|
| 236 |
container.text(f"Total Trailing Hit: {len(final_df[final_df['Exit Condition'] == 'Trailing Hit'])}")
|
| 237 |
container.text(f"Total IntraBar Hit: {len(final_df[final_df['Exit Condition'] == 'IntraBar Hit'])}")
|
| 238 |
container.text(f"Total MaxLoss Hit: {len(final_df[final_df['Exit Condition'] == f'MaxLoss {max_loss_sl}% Hit'])}")
|
|
|
|
| 239 |
container.text(f"High - Low Average: {round(final_df['change %'].mean(), 2)}")
|
| 240 |
# container.text(f"High - Low Average Number new: {round(np.percentile(final_df['change %'], 60), 2)}")
|
| 241 |
container.text(f"% Winning Ratio {round((len(final_df[final_df['Profit'] > 0]) / len(final_df)) * 100, 2)} %")
|
|
|
|
| 236 |
container.text(f"Total Trailing Hit: {len(final_df[final_df['Exit Condition'] == 'Trailing Hit'])}")
|
| 237 |
container.text(f"Total IntraBar Hit: {len(final_df[final_df['Exit Condition'] == 'IntraBar Hit'])}")
|
| 238 |
container.text(f"Total MaxLoss Hit: {len(final_df[final_df['Exit Condition'] == f'MaxLoss {max_loss_sl}% Hit'])}")
|
| 239 |
+
container.text(f"Total MaxLoss Hit: MaxLoss {max_loss_sl}% Hit")
|
| 240 |
container.text(f"High - Low Average: {round(final_df['change %'].mean(), 2)}")
|
| 241 |
# container.text(f"High - Low Average Number new: {round(np.percentile(final_df['change %'], 60), 2)}")
|
| 242 |
container.text(f"% Winning Ratio {round((len(final_df[final_df['Profit'] > 0]) / len(final_df)) * 100, 2)} %")
|