the code is a smaple project downloaded from sterling's web site. it's too long to post here on ET due to restrictions of the msg length. anyway, it is located in ../AX_Examples\Visual Basic 6.0\order thanks for the help.
How to cast TVariantArray to structSTIQuoteUpdate in Delphi? According to the documentation the structSTIQuoteUpdate is passed to this event. Does anybody know how to read values from Params (TVariantArray)? I guess I need to read them here and assign to structSTIQuoteUpdate. Is there particular order of elements in the array? procedure TSTIQuote.InvokeEvent(DispID: TDispID; var Params: TVariantArray); â¦.. FOnSTIQuoteUpdate(Self, {??structSTIQuoteUpdate}OleVariant((TVarData(Params[0]).VPointer)^) {var ??structSTIQuoteUpdate OleVariant}); â¦.
Is anybody using QT activx wrapper for C++ ? http://doc.trolltech.com/qq/qq03-activex.html Is Sterling going to work with this wrapper? Did anybody have any experience with it?
Anyone else having API problems with sterling these past 2-3 months? My API is ALWAYS getting disconnected. Quotes/sec go down to 0. Usually happens to both my accounts at the same time. I wonder if its sterling or my internet connection. I have to restart my ATSes a few times a day. Slow days might not have to, fast days it may be 10 times. and its only the api, not the platform. god I hate sterling. and did you guys capped to a max of 200 symbols a couple months ago? i was able to get a higher limit but it took days of complaining to sterling. why can't they upgrade their servers or software. i gotta pay money for this crap? at least you now have the option to combine backed up quotes. but that doesnt exactly help if you're collecting data (volume, t&s, whatever)....
I've been having general quote hangups at the platform level lately, usually for just a few symbols. This has been making my programs complain to me. But it doesn't sound like what you're seeing. Also I connect to servers at Echo, not Sterling.
The reason the quotes are slow in .NET is that it communicates through .Net Interop to the ActiveX componenet, which is horrendously slow, as documnted by Microsoft. I created a VB wrapper that handled all the events, bouncing them to my .NET app. Things improved significantly!
Hey I am having a little problem that hopefully someone here can help me out with. I can install the sterling app no problem, I can then add a reference to my project and compile the code without problem. When I try and run and/or debug the app, as soon as it starts I get the error below. Retrieving the COM class factory for component with CLSID {8EB74552-C174-4D51-819B-9E65A8916273} failed due to the following error: 80040154. Apparently this means I don't have the appropriate file registered in my registry, but when I attempted to register it I get the follow error. The module "c:\Windows\System32\Sti\Sterling.tlb" may not compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe. The technical support guys thought then that I was running a 64-bit version of windows, which I am not. I am running Windows Vista Home Premium, 32-bit. Does anyone here know what the hell is going on with this? Thanks
No I haven't tried it on a XP machine. But I am starting to believe that it is a vista issue, because everything else seems to be fine. Is there anything else that might cause this error to occur? Thanks Shreddog
Hi guys. I am new to Sterling and I currently execute Market orders through the API. I use VB6. I want to access quotes (bid, ask) in my code and to be able to automatically send limit orders based on my criteria. I haven't found an example where I can do that. Any idea? Again, I appreciate your help since I am new to this.