Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 18:12:30 +0000



Recommended ACSIL for retrieving type of the last trade executed?

View Count: 1942

[2013-08-03 06:44:42]
User45685 - Posts: 36
I was wondering what Sierrachart recommends using for determining what the last trade type(Buy or Sell) was? Is there a recommended function or method for this?
Date Time Of Last Edit: 2013-08-03 06:45:06
[2013-08-04 07:02:35]
User45685 - Posts: 36
It Appears I was looking for sc.scGetTradeListEntry,will try writing code for it.
[2013-08-04 12:02:22]
Sierra Chart Engineering - Posts: 104368
Yes, but it will be helpful if we add a new function to tell you how many entries are in the Trades list so you can get the last one. We will work on that for the next release.
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
[2013-08-05 05:37:44]
Sierra Chart Engineering - Posts: 104368
This function is going to be added in the next release:
sc.GetTradeListSize(). It will return the number of trades in the trade list . This will be useful to get the very last entry from sc.scGetTradeListEntry
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
[2013-08-05 17:01:33]
User45685 - Posts: 36
Thanks!

1) On a different note, what happened to the "sc.GetTradeList" function which is being referenced in this thread sc.GetTradeList crashes SC ?

2) Is there anymore documentation on the s_ACSTrade structure ?

[2013-08-05 17:25:37]
Sierra Chart Engineering - Posts: 104368
1. This has been replaced with sc.GetTradeListEntry

2. Here is the documentation:

https://www.sierrachart.com/index.php?l=doc/doc_ACSILTrading.html#scGetTradeListEntry
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