Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 19:29:39 +0000



Post From: How can I run a study without wait ticks arrive or how run it based on constant time?

[2015-12-16 00:12:37]
User368248 - Posts: 46
Hello.
I am building a hedge system based on two instances: buy on instance1/broker1 and sell on instance2/broker2 ( or viceversa ).
The system its working now, I put a study on instance1 and another study on instance2, but I have a syncronize problem.
The problem its: the broker1 send ( for example ) 200 ticks in 1 minute and broker2 send 100 ticks on 1 minute so the behavior its the study in broker1 read and process data "more fast" rather broker2, this its a problem because I need both studys on both instances send *simultaneusly* orders: buy on broker1/instance1 and sell on broker2/instance2 but broker2 dont process until receive their own tick ( on their instance2). I need each study work syncronized on time.

Hope be clear, the questions are :
1.- How can I run/process a study without wait ticks arrive ?
2.- How can I run/process a study based on constant time? For example each 100ms ?
3.- How can I send a order(buy/sell) without wait incoming/arrive tick ?
Thanks in advance.
Date Time Of Last Edit: 2015-12-16 05:41:08