HOME FORUMS BROKERS SOFTWARE BOOKS CONTACT US
Elite Trader Your Account  •  Become a Member  •  Help  •  Search    
    Forums ›› Tools of the Trade ›› Trading Software ›› Sterling API Developer Thread  


Post A Reply
    Page 1 of 46:   1  2  3  4  5  6  7  8  9  10     Last Page »
mnx
 

Registered: Dec 2003
Posts: 689

 

04-25-08 05:55 PM

I see that Anvil has a thread where traders and programmers a like can discuss the ins and outs of their API. I figure there must be as many people or more using Sterling Trader Pro and it's API so I figured I'd kick things off.

I'll start with a question.

What is the difference between StructOrderUpdate and OrderUpdateMsg (and all the other events that have both a struct and Msg version) and why does Sterling recommend that you use the Structs in your code?

Thanks.

- mnx

    Edit/Delete Quote Complain
Shreddog
 

Registered: May 2003
Posts: 784

 

04-25-08 05:59 PM


Quote from mnx:

I see that Anvil has a thread where traders and programmers a like can discuss the ins and outs of their API. I figure there must be as many people or more using Sterling Trader Pro and it's API so I figured I'd kick things off.

I'll start with a question.

What is the difference between StructOrderUpdate and OrderUpdateMsg (and all the other events that have both a struct and Msg version) and why does Sterling recommend that you use the Structs in your code?

Thanks.

- mnx



Only reason I know of is because Terry says so.

    Edit/Delete Quote Complain
ers811
 

Registered: Apr 2008
Posts: 27

 

04-25-08 06:48 PM

I've been using the API for over a year and I've never really seen much discussion. Maybe we can get some good replies here about the intricaies of the API architecture... i.e. more than just "refer to the documentation".... hehe. j/k... Terry is actualy really nice and helpful. But since he basically serves as a shield to the programmers there it might be nice to get some technical discussion from other people actually USE it!

Eric

    Edit/Delete Quote Complain
UDon'tKnowMe
 

Registered: Mar 2008
Posts: 211

 

04-25-08 07:19 PM


Quote from mnx:



What is the difference between StructOrderUpdate and OrderUpdateMsg (and all the other events that have both a struct and Msg version) and why does Sterling recommend that you use the Structs in your code?



I don't use the API, but used to be in an office with others around me who did, and I would assist them in their developing when markets were slow around lunch. But I believe the "Structure" has to do with UDT, and has to do with how you are feeding the data into your API. But I am in know way proficient enough to really speak intelligently about this, so I may have no idea what I am talking about, but just throwing it out there.

    Edit/Delete Quote Complain
mnx
 

Registered: Dec 2003
Posts: 689

 

04-25-08 07:37 PM


Quote from UDon'tKnowMe:

I don't use the API, but used to be in an office with others around me who did, and I would assist them in their developing when markets were slow around lunch. But I believe the "Structure" has to do with UDT, and has to do with how you are feeding the data into your API. But I am in know way proficient enough to really speak intelligently about this, so I may have no idea what I am talking about, but just throwing it out there.



Ok, so I googled UDT since I didn't know what it was... If you're reading this and are as uninformed as I am it's short for a User Defined Type.

The question still remains though... How are the UDT Structs different from the STI...Msg Objects? (and what might be their advanatges?)

    Edit/Delete Quote Complain
UDon'tKnowMe
 

Registered: Mar 2008
Posts: 211

 

04-25-08 07:56 PM


Quote from mnx:

Ok, so I googled UDT since I didn't know what it was... If you're reading this and are as uninformed as I am it's short for a User Defined Type.

The question still remains though... How are the UDT Structs different from the STI...Msg Objects? (and what might be their advanatges?)



I am assuming one is to be used when you use Sterlings data feed, and the other is to be used when using a third party data feed that you plugin to the Sterling API or system, because you don't like Sterlings data feed or you want your data from a different provider than Sterling uses. I forget which Data provider sterling uses, but someone with the capital might want a raw data feed from Comstock for $5,000 a month. Their are different levels of latency and quality of data feeds.

    Edit/Delete Quote Complain
    Page 1 of 46:   1  2  3  4  5  6  7  8  9  10     Last Page »
Post A Reply


Receive an email whenever a new post is added to this thread by subscribing to it.
 
Rate This Thread:

Forum Jump:
 

 

   Conduct Rules  -  Privacy Policy  -  Day Trader -  Day Trader Forum -  Best Trading Software -  Sitemap Copyright © 2013, Elite Trader. All rights reserved.    
 
WHILE YOU'RE HERE, TAKE A MINUTE TO VISIT SOME OF OUR SPONSORS:
Advantage Futures
Futures Brokerage & Clearing
AMP Global Clearing
Futures and FX Trading
Bright Trading
Professional Equities Trading
CTS
Futures Trading Software
DaytradingBias.com
Professional Trading Analytics
ECHOtrade
Professional Trading Firm
eSignal
Trading Software Provider
FXCM
Forex Trading Services
Global Futures
Futures, Options & FX Trading
Interactive Brokers
Pro Gateway to World Markets
JC Trading Group
Direct Access Trading
MB Trading
Direct Access Trading
MultiCharts
Trading Software Provider
NinjaTrader
Trading Software Provider
OANDA
Currency Trading
optionshouse
Option Trading & Education
Questrade
Canada's #1 Online Broker
Rithmic
Futures Trade Execution Platform
SpeedTrader
Direct Access Trading
SpreadProfessor
Spread Trading Instruction
thinkorswim by TD Ameritrade
Direct Access TradingAdvertisement
TradersStudio
System Building & Backtesting
Trading Technologies
Trading Software Provider
Trend Following
Trading Systems Provider