API function to jump to a certain date / time

How to create strategies and indicators
Message
Author
rafaelzan44
Posts: 3
Joined: Sat Jul 02, 2022 5:23 pm

API function to jump to a certain date / time

#1 Postby rafaelzan44 » Wed Apr 26, 2023 1:51 am

Hello

Does the api have a function to advance to a certain date / time
and / or advance by a certain amount of ticks or bars?
I'd like write a script that will advance the simulation to a certain time the next day.
Since i'd like to simulate only in the time range i am actually planning to trade.
Otherwise you have to press spacebar alot of times until you reach the datetime the next day
or use the "jump to" which is less efficient.

Thanks
Rafael

FX Helper
Posts: 1479
Joined: Mon Apr 01, 2013 3:55 am

Re: API function to jump to a certain date / time

#2 Postby FX Helper » Wed Apr 26, 2023 3:09 am

Hello Rafael,

No, sorry, there is no such functionality in a current version of the Forex Tester API.

rafaelzan44
Posts: 3
Joined: Sat Jul 02, 2022 5:23 pm

Re: API function to jump to a certain date / time

#3 Postby rafaelzan44 » Wed Apr 26, 2023 3:54 am

Thanks. Maybe you could consider adding it in a future version?
Thanks
Rafael

FX Helper
Posts: 1479
Joined: Mon Apr 01, 2013 3:55 am

Re: API function to jump to a certain date / time

#4 Postby FX Helper » Wed Apr 26, 2023 10:14 am

Sure, I will notify our developers and ask them to consider adding this functionality in the future.


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 16 guests