i am using python my script is getting out from the market after running strategy & placing order. how i can keep my script in the session so that it can execute linked actions (buy, exit buy sell exit sell buy ....). if possible an example will be helpful
for example my stregey is calculating buy for recent candle then it is placing that buy order and getting closed/ended/exited and command line becomes free whereas i am expecting something if i run python mycode.py > resutlt.txt then it should keep running for complete day(for mcx) and i can see output in result.txt
What do you mean by "coming out of market"?
for example my stregey is calculating buy for recent candle then it is placing that buy order and getting closed/ended/exited and command line becomes free whereas i am expecting something
if i run
python mycode.py > resutlt.txt
then it should keep running for complete day(for mcx) and i can see output in result.txt
i hope its clear now
Thanks
Ram