Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 14:49:03 +0000



Programmatically get Order entry and exit price

View Count: 763

[2021-12-13 04:26:44]
User641030 - Posts: 13
Hi,

I would like to know if there is a way through acsil to get Order entry and exit price for Market order?

I looked at GetOrderFillEntry and GetOrderForSymbolAndAccountByIndex but don't see a way to get market entry price and exit price.

Can someone please help? I'm looking for the trade activity log data through acsil.

Thanks,
Sudha
[2021-12-13 10:56:06]
User641030 - Posts: 13
GetOrderForSymbolAndAccountByIndex seems to return trade activity view. But what I'm looking for is Trades view where I get a single record back which has both the entry and exit price. Not sure if we have an API for that.
[2021-12-13 15:27:26]
Sierra Chart Engineering - Posts: 104368
Use this function to get the entry and exit for a Trade:
Automated Trading From an Advanced Custom Study: sc.GetTradeListEntry()

Order types are not relevant though regarding this function.
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