Hello guys, I'm having a problem connecting to the STIApp class. I get an exception no matter what I try. The exception reads: Retrieving the COM class factory for component with CLSID {56B7DAF0-5105-469A-BF74-2294CAC8479D} failed due to the following error: 80040154. I'm attaching the VS project so that you can try it for yourself. Thanks.
Perhaps this could help: http://stackoverflow.com/questions/7197506/how-to-repair-comexception-error-80040154
Hi, Would anyone have an example of how to submit an option spread order with the Sterling API? When calling GetOrderList(), each leg of a spread order comes back as a different order (what a mess), together with an order for the actual order. Is that how they are supposed to be submitted as well? If so, in what "order" -- legs first, then the main order? Otherwise, how would the api know how many legs to wait for? Thanks /\/\}{
It's a pity but I tried that. Changing the CPU and output settings do not fix the problem. I've dug a lot in the forums and other sites and the last thing that might work (didn't try it yet) is to compile on a 32 bit XP machine, but I have none at the moment, all are 7 or 64-bit versions.
Hello guys, i'm good at algorithms, c# and java, but the api guide is giving me trouble. Can someone shed some light on the SterlingLib.STIQuote and how to instance it to get current NBBO ask and offer? I'm going with the c# examples but the documentation is really terrible. Here is the code for now just to express the idea: namespace SterlingProject { using SterlingLib; public class MyStiQuotes { private STIQuote sterlingQuote = new STIQuote(); public double ReturnNBBOAskPrice(string symbol, string markets = "") { sterlingQuote.RegisterQuote(symbol.ToUpper(), markets); return sterlingQuote.AskPrice; } public double ReturnNBBOBidPrice(string symbol, string markets = "") { sterlingQuote.RegisterQuote(symbol.ToUpper(), markets); return sterlingQuote.BidPrice; } } } Can someone lend a hand?
Hi all, I just installed Sterling demo and trying out the VB6 sample code and excel VBA sample. Both have problem when trying to create new object: Set quotes = New SterlingLib.STIQuote Run-time error '429' Activex component cant create object How to solve this issue? Thanks
Very interested So I'm not a programmer at all and am completely lost as to how to get my strategies that I've automated in ninjatrader using ninja script. And covert them to sterling. I don't even know where to begin. So here goes the newbie questions 1) what is an API in terms of trading Does it simply mean that you design something using VBA in excel and it can communicate with sterling?? 2) how hard is it to design something like a simple crossover strategy etc?