hello retief,
do you know about the yahoo group ?
http://tech.groups.yahoo.com/group/twslink/messages
- "MOC" - orders
this is just another order type like "LMT" or "STP"
-> PLACE_ORDER(uid,oid,"SELL","MOC",...)
- hidden
all order properties that can't be set with PLACE_ORDER
can be set with
SET_ORDERVAL(uidorder,propid,valastring,transmit)
for that you should prior call PLACE_ORDER
with transmit = -1 or 0 and
SET_ORDERVAL with transmit = 1
sample:
oid = PLACE_ORDER(uid,0,"SELL","MOC",...,"GTC",0,...)
SET_ORDERVAL(oid,15,"1",1)
15 is propertyid of hidden. (table 6.6)
"1" is true, "0" is false
- ibcontroller
i am glad you like twslink.
i think ibcontroller links amibroker to IB. this a one to one relation.
TWSLink links any application (that can use DLL or COM), high language as C++, VB.NET,c#,
script language like perl to IB. this is a one to x > 0 relation.
that makes it easier to change the host of your strategies for instance if you say
"i want to change from amibroker to tradestation or from wealth-lab to eSignal or.."
changing the TWSLink related code (if needed) won't be a problem. the core of your strategy
implementation code remains the same.
do you know about the yahoo group ?
http://tech.groups.yahoo.com/group/twslink/messages
- "MOC" - orders
this is just another order type like "LMT" or "STP"
-> PLACE_ORDER(uid,oid,"SELL","MOC",...)
- hidden
all order properties that can't be set with PLACE_ORDER
can be set with
SET_ORDERVAL(uidorder,propid,valastring,transmit)
for that you should prior call PLACE_ORDER
with transmit = -1 or 0 and
SET_ORDERVAL with transmit = 1
sample:
oid = PLACE_ORDER(uid,0,"SELL","MOC",...,"GTC",0,...)
SET_ORDERVAL(oid,15,"1",1)
15 is propertyid of hidden. (table 6.6)
"1" is true, "0" is false
- ibcontroller
i am glad you like twslink.
i think ibcontroller links amibroker to IB. this a one to one relation.
TWSLink links any application (that can use DLL or COM), high language as C++, VB.NET,c#,
script language like perl to IB. this is a one to x > 0 relation.
that makes it easier to change the host of your strategies for instance if you say
"i want to change from amibroker to tradestation or from wealth-lab to eSignal or.."
changing the TWSLink related code (if needed) won't be a problem. the core of your strategy
implementation code remains the same.