Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 09:42:21 +0000



Getting Trade Position data

View Count: 942

[2017-06-05 03:17:59]
User972044 - Posts: 154
Hi there,

Just a very short question. For the function int sc.GetTradePositionForSymbolAndAccount( s_SCPositionData& PositionData, const SCString& Symbol, const SCString& TradeAccount); what do I put for TradeAccount? Is it my complete account number that I have with IB and for the Symbol, do I put the complete symbol for the security that I want to get trade position data on?

Thanks.
[2017-06-05 18:52:13]
Sierra Chart Engineering - Posts: 104368
The account will be one of the accounts you see listed in the list of Trade Accounts on a Trade Window:
http://www.sierrachart.com/index.php?page=doc/TradeWindow.html#SelectingTradeAccount

The symbol can be any valid Interactive Brokers symbol. Refer to:
http://www.sierrachart.com/index.php?page=doc/IBSymbols.html
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account