Why is my python script working sometimes but not others? There seems to be a delay for it to work
HI i have put the below code together to look at the previous days high and low and then compare it to the day before to see what type of day it is with regards to the stock market.
trying to make a algo in python based on riskmanagement in trading taking trades on tradingview using a bridge interface
building a python based risk management bridge setup where in some x % of loss is reached on that day then automatically all positons and pending orders shall be close( cancelled in case of pending orders)
should automatically close my application for next 4hrs or 6hrs.
this bridge software is a algo software which is a semi automatic ie manually orders are placed on trading view terminal with SL manually entered and mandatory for everytrade every trade….
can someone please help in this regard.
this bridge connects Tradingview + Tradingterminal(stock broker). managing risk management + placing orders from Trading view chart directly