Date/Time: Sat, 20 Apr 2019 03:24:43 +0000
Post From: Interface between SC and T4 is seriously broken
|vsh2m - Posts: 7|
There is a bug in your calculation of average position price. As the upper screenshot shows (see SC-T4-partial-fills.jpg), there is a lot of "Partial Fill" records, which are created by FCM's back office and which have zero quantity. I belive, you use them "as is" to calculate SC positions thus performing division by zero. That results in the weird Average Entry Price as the lower screenshot shows.
Recall that I have already reported this problem (https://www.sierrachart.com/SupportBoard.php?ThreadID=980), but you decided to forget it. I understand that you are busy with completion of T4 FIX setup, but please fix this simple bug in the current T4 interface.
Besides, after upgrading to SC 987 and 988, things became even worse, as now the member variable s_SCPositionData.AveragePrice can be populated with garbage like negative prices, for example. Still the SC window "Orders and Positions" shows correct prices for both orders and positions.
I have another T4 account with another FCM, which has not had such issues so far, maybe because that FCM does not create "Partial Fill" records with zero quantities (see SC-T4-nice-and-clean.jpg).
There is one more problem with SC and T4 setup, which appeared after upgrading to SC 987 and 988. Basically, SC does not show positions on the charts any more, although it shows fills and stop orders as the screenshot displays (SC-T4-no-position-on-chart.jpg). This problem is pertinent to both FCMs.
I hope this info will help you fix these bugs. Thank you.
Date Time Of Last Edit: 2013-06-17 23:02:34