Strategy Runner 1.0 has been released

Moderator: Moderator

Re: Strategy Runner 1.0 has been released

Postby Cactus » Mon Apr 08, 2019 4:25 pm

Is it safe to run multiple instances of this, many different strategies even on the same asset, would they crash? do strategies need a "magic number" or QTXT thing to identify them otherwise one strategy can close orders on another by accident? Do I understand this right.
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Re: Strategy Runner 1.0 has been released

Postby Konstantin.Toporov » Tue Apr 09, 2019 12:10 pm

It is "safe" in terms of technical aspect, but you have to synchronize the business operations on your own.
Using QTXT and subscribing to orders/trades table events would be very useful for this purpose.
Konstantin.Toporov
FXCodeBase: Initiate
 
Posts: 113
Joined: Mon Aug 31, 2015 10:16 am

Re: Strategy Runner 1.0 has been released

Postby lavolpe » Thu Aug 13, 2020 9:43 am

Hi toporov, my strategy use "getServerTime" host command:

local serverTime = core.host:execute("getServerTime");
local serverDATA = core.dateToTable(serverTime);

but StrategyRunner return "time_provider_not_configured":

"Cannot prepare strategy: C:/Gehtsoft/StrategyRunnerSDK_x64/strategies/custom/ADXCROSS.lua:1114: time_provider_not_configured"

am i missing something?
lavolpe
 
Posts: 11
Joined: Tue Nov 13, 2018 1:36 pm

Re: Strategy Runner 1.0 has been released

Postby agolovin » Fri Sep 04, 2020 1:09 am

Hello,

The issue has been fixed. Please, download the SR installer from here:
https://cloud.gehtsoftusa.com/s/LiRkyL4HmqzGtYJ

The getServerTime() method has been also added to the example attached.
Attachments
ShowAccounts.lua
(1003 Bytes) Downloaded 579 times
agolovin
 
Posts: 5
Joined: Tue Jun 09, 2020 7:45 am

Previous

Return to Strategy Runner

Who is online

Users browsing this forum: No registered users and 1 guest