I would like to write a custom script safety that does the thing on subject. I need advice, I cannot find a method to read the last trade date.
The logic should be:
if (a position IS open)
if (hours(current_date - last_trade_date) > max_hours)
Thank you for any help!
This board has been archived, no new registrations are allowed. Please come join us on our discord!
Discuss and share different settings for safeties.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests