Replies

hyperscalper
09 Apr 2015, 03:18

 

Well, the "poor man's way" of doing things would be to

queue up some action specs, and maybe pick items off the

queue for execution on a Timer tick maybe.....  But I was

hoping for a more advanced method.  HyperScalper

 


@hyperscalper

hyperscalper
07 Apr 2015, 22:42

Trying to be clear here, what I mean is that normally Robot trading

logic is placed in onTick or onBar.  For critical trade operations, from asynchronous

threads there needs to be a way for those asynchronous threads to safely

execute/dispatch code, as though the code were in the onTick or onBar context

and executing on the same thread, I assume, which is used to serialize operations.

HyperScalper

 


@hyperscalper

hyperscalper
07 Apr 2015, 22:27

Also, is there a property which can be used at runtime to detect whether the implementation is the normal "positions" vs the abnormal "net" position?

Thanks, HyperScalper

 


@hyperscalper

hyperscalper
05 Mar 2015, 13:36

I added this request also, for implementations which use individual positions. Dukascopy features the ability to do this, with no commission for the Merge operation, as no trade takes place.


@hyperscalper