| SmartQuant Discussion http://www.smartquant.com/forums/ |
|
| How to send orders to different IB FA accounts http://www.smartquant.com/forums/viewtopic.php?f=64&t=6318 |
Page 1 of 1 |
| Author: | Dr. Anton Fokin [ Thu Dec 27, 2007 1:08 pm ] |
| Post subject: | How to send orders to different IB FA accounts |
Code: public override void OnBar(Bar bar)
{ Order order1 = LimitOrder(OrderSide.Buy, 1, bar.Close - 1); Order order2 = LimitOrder(OrderSide.Sell, 1, bar.Close + 1); order1.Account = "DU16151"; order2.Account = "DU16152"; order1.Send(); order2.Send(); } |
|
| Page 1 of 1 | All times are UTC + 3 hours |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|