Support Board
Date/Time: Sat, 11 Jan 2025 19:54:07 +0000
Post From: How to "Start" automated trading
[2016-12-26 23:29:38] |
AcquaLife - Posts: 33 |
Okay, I am still having problems getting it to trade live. I have done the following: Under the trade toolbar- Unchecked Trade simulation mode check autotrading enabled I followed the instruction on connecting SC to my IB account. I know it is connected because i can press the buy,sell, flatten, ect buttons on the trade window and i get notifications from IB about the orders. The code i am using is the skeleton function of the first function (scsf_TradingExample(SCStudyInterfaceRef sc) in the tradyingsystem.cpp code you supply. I have change sc.SendOrdersToTradeService = false to true. Furthermore, when i simulated this code i get the trades that i would expect to get. So i believe the code logic is correct. I just do not know why no orders are being place? Also, I am saving the code and then going to analysis -> build custom Dll studies and hitting the build custom DLL button. There are no errors. Please help |