i found the problems - > A. u need to disable uac in windows 7 B. sterling api doesnot work with .net 4.0 but only with 3.5 and vs2010 automaticly chooses 4.0 so u need to change it manualy to 3.5.
Sterling has a max send order rate of about 25 per second. Does Sterling give permissions to accounts to exceed that? I am waiting for a response from them but just in case their answer is..."no we wont up your send rate", how are some of you bypassing that limit, arent there any people that need to send >30 orders at a time? I do. Forgive me if this has been resolved in the thread already. Thanks.
Hi, I would like to know if some of you have problems with the Event OnSTIPositionUpdate? I have tested it and it wasnât stable. Sometime, it could go well for a lot of positionUpdates but sometime it stop to receive PositionUpdates Event for a certain period of time. I have this kind of problem in random manner. Hereâs my vb.net code: Public WithEvents stiPosition As STIPosition Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load stiPosition = New STIPosition stiPosition.RegisterForPositions() AddHandler stiPosition.OnSTIPositionUpdate, AddressOf DoWorkAtPositionUpdate End Sub Private Sub DoWorkOnSTIPositionUpdateXML(ByRef bstrPosition As String) Dim xs As New XmlSerializer(GetType(SterlingLib.structSTIPositionUpdate)) Dim sr As New StringReader(bstrPosition) Dim structPosition As SterlingLib.structSTIPositionUpdate = DirectCast(xs.Deserialize(sr), SterlingLib.structSTIPositionUpdate) sr.Close() AtPositionUpdate_SetPositionQuantityAndSide(structPosition) End Sub Is there something that needs to be change in it? Thanks guys
Has anyone had issues with memory leaks while using the Sterling API? I have a fairly simple implementation which seems to have a memory leak. Nothing I am doing should really be causing the leak (plus im using managed code), I was wondering if anyone else had any experience with this?
Sorry to intrude on this thread if this is the wrong place to post this type of request. Can anyone refer me to a Sterling Trader Pro API developer/coder who has built any "Order Managment" tools to work with Sterling? Order Management functions would mainly consist of canceling when certain customizable parameters were met. Thanks much.
What is the STIOrderUpdate struct for exactly? Just a periodic update on what's going on with a live order? Will I receive this for orders that have been rejected?
Wait, is this how I acknowledge cancels? I'm trying to map the events accordingly. Sorry for thread spam.
I need help trying to receive the "Too Late to Cancel" message. Was anyone out there able to get the demo system to send their API messages for "Too Late to Cancel" on the test symbol KO? I see the message in the notification log, but never see it show up in a reject message of any kind at all. I tried a few different methods, but it just never shows up as a reason code. - The sample API never shows it being processed - Open source projects like TradeLink don't even handle this scenario. I guess my concern is that if I have to create a new client order ID to track a cancel and I don't get a successful cancel, I'll have a useless record sitting around in memory that I can't clear unless some kind of other order status tells me this cancel is officially dead. Any help at all would be appreciated.