How to store sport price value of perticular time

hello guys,

storing banknifty value at 10am in runtime variable

support at 10 am banknifty at 49760,
i want to store this value in particular runtime variable and want to make it round to near zero, like here 49760 will round up to 49800…

1 Like

not sure will work but try it, execute repair once at 10AM and in position use 0 quanity (so no trade will execute) and store price in runtime variable. math operation are available to round it.

Which platform you use ?