Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 14:32:07 +0000



Open average price on DOM after a scratch

View Count: 1492

[2018-09-05 09:27:49]
User959310 - Posts: 10
Dear Sierra Tech Support,

I used to use another front-end for trading.
In Sierra, giving the following trades:
-Short q.ty 1 x 1.15845
-Short q.ty 1 x 1.15905

shows correctly and average of 1.15875.

But if then I cover the first short as a scratch:
-Cover buy q.ty1 x 1.15845

I should see an average price of the remaining lot at 1.15905

but instead I see an average price with open P&L calculated based on price 1.15845.

So how to set please Sierra in order to display the average price of 1.15905 after the scratch?

Thank you.
Kind regards,
Dario
Date Time Of Last Edit: 2018-09-05 10:17:14
[2018-09-05 18:27:14]
Sierra Chart Engineering - Posts: 104368
Refer to this section here:
Trading Information Windows: How Average Price for Positions Is Calculated and Used
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
[2018-09-10 13:30:57]
User959310 - Posts: 10
Thank you for the reply.
According to my understanding, in order to get the desidered behaviour described above, I should de-select the "Use Last In First Out Fill Matching" with the net result of a FIFO.

Is still enough? Nothing else?
imageDisabled LIFO, i.e. enabled FIFO.png / V - Attached On 2018-09-10 13:30:02 UTC - Size: 103.49 KB - 296 views
[2018-09-10 13:51:14]
User959310 - Posts: 10
Unfortunately it does not work as expected. I also disabled that "Use Flat to Flat Average Price for Position Line" but it did not help.

I can't get the desired behavior i.e. the 1.15905 as new reference price after the scratch.
Date Time Of Last Edit: 2018-09-10 13:53:05
[2018-09-10 17:11:25]
Sierra Chart Engineering - Posts: 104368
Are you looking at the Trade Service provided Position Average Price? Refer to:
Trading Information Windows: Trade Service Provided Average Price
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
[2018-09-10 17:28:33]
User959310 - Posts: 10
No, I am not talking about that 'average price'. I am referring to the colored price on the DOM.

There should be no 'average' price after the scratch at 1.15845.
The net position would be simply short 1 @ 1.15905 and that is the highlighted, colored price I would like to see, please.

After the above option(s) I still cannot get the "the desired behavior i.e. the 1.15905 as new reference, colored price after the scratch" on DOM.

Please clarify how to get it properly. The feed is Rithmic. Thank you.
Date Time Of Last Edit: 2018-09-10 17:31:41
[2018-09-10 17:35:06]
Sierra Chart Engineering - Posts: 104368
Provide a screenshot of that average price so we can look at it. Here are instructions:
https://www.sierrachart.com/index.php?page=PostingInformation.php#Image

Use the command Upload Chart with Overlays.
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
[2018-09-10 17:45:20]
User959310 - Posts: 10
Sorry guys but the problem is 'logic', not visualization on DOM. Above I already attached a screenshot of the modified settings.

Are you able explain please how to get FIFO work as per the logic described in the post #1?

I am simply trying to replicate what I got from X_Trader as way of displaying the remaining price position after the first trade has been closed as a 'scratch' (entry price = exit price).

With the above settings you suggested, the colored market price after scratching the first trade, is according to 1.15845, instead of being 1.15905.

Do we agree that with FIFO, getting 1.15845 as marked price on DOM after the scratch is wrong?

You may use the prices you want, but that is the example of logic.
Thank you!
Date Time Of Last Edit: 2018-09-10 17:53:08
[2018-09-10 17:52:04]
Sierra Chart Engineering - Posts: 104368
At this point we cannot provide further help unless you provide us the information we require.
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
Date Time Of Last Edit: 2018-09-10 17:52:27
[2018-09-10 18:02:05]
User959310 - Posts: 10
I am getting a permission denied error.
Did you disable my account?
image2018-09-10_20-00-37.png / V - Attached On 2018-09-10 18:01:44 UTC - Size: 88.76 KB - 299 views
Attachment Deleted.
[2018-09-10 18:28:00]
Sierra Chart Engineering - Posts: 104368
For help with the Rithmic permission denied error refer to:
Rithmic Trading Platform Service: Permission Denied Resolution Procedure
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
Date Time Of Last Edit: 2018-09-10 18:28:15
[2018-09-10 18:55:17]
User959310 - Posts: 10
Unfortunately I have just discovered that Rithmic terminated the two week trial.
So I cannot post the requested screenshot.
Date Time Of Last Edit: 2018-09-10 19:21:08
[2018-09-11 04:59:06]
Sierra Chart Engineering - Posts: 104368
Okay what we want you to do is to run a chart replay:
Replaying Charts

And use Trade Simulation Mode:
Trade Simulation

Submit orders and see if you get the average price you expect. You should. If you are changing any setting outside of the chart like Use Last In First Out Fill Matching, go to the chart and select Chart >> Reload and Recalculate to ensure it goes into effect.

This test will completely bypass any effect from the external service since it is a highly controlled stable environment.
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
[2018-09-16 20:44:59]
Sierra Chart Engineering - Posts: 104368
One thing we want to let you know is that we are extensively reworking the Trades list and trade statistics calculations which also calculate the daily profit/loss and also the open position average price.

In order for this to work as reliably as possible when using order fill data from external services, the position average price most likely is going to be fixed using last in first out (LIFO) and cannot be changed.
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
[2018-09-17 08:57:20]
Sierra Chart Engineering - Posts: 104368
Actually thinking about it we probably can do first in first out for the position average price calculation. This is still a few days away before we get to this.
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
[2019-02-19 14:30:46]
User959310 - Posts: 10
Good morning,
Reading the above post from your support ("This is still a few days away before we get to this."), it seems there were chances that the logic could flexible instead of LIFO by default and 'cannot been changed'.
Did you add a new logic to your Sierra front end meanwhile?


So my question is the same after 4 months:
Are you able explain me please how to get FIFO work as per the logic described in the post #1?


Thank you.
[2019-02-20 11:51:55]
Sierra Chart Engineering - Posts: 104368
Yes there are several different average price calculations. What you require is supported. They all are documented here:
https://www.sierrachart.com/index.php?page=doc/TradeStatusWindows.html#HowAvgPricePositionsCalcUsed

First in first out is supported.

Update to the current version:
Software Download: Fast Update

We have activated your account.

We recommend just simply using the Sierra Chart Historical Service for data:
Sierra Chart Historical Data Service

And use the chart replay functionality to do testing:
Replaying Charts

We do not recommend using Rithmic.
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
Date Time Of Last Edit: 2019-02-20 11:52:59
[2019-03-21 14:54:31]
User959310 - Posts: 10
We do not recommend using Rithmic.

In which context you do not recommend Rithmic connection?

Specifically about getting a proper FIFO average price calculation or for other reasons?
[2019-03-22 08:26:46]
Sierra Chart Engineering - Posts: 104368
For other reasons. Could you tell us who your futures clearing firm is? We have this new service you may be interested in:
Sierra Chart / Trading Technologies Futures Order Routing Service
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
[2019-03-22 09:18:53]
User959310 - Posts: 10
Apparently Rithmic addressed the topic of Sierra Chart vs Rithmic and the 'legacy' framework at:
https://www.elitetrader.com/et/threads/earn-2-trade-the-gauntlet.322385/page-66#post-4826887

I am with Infinity Futures (forced to use Infinity AT/Sierra).
Date Time Of Last Edit: 2019-03-22 09:22:46

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

Login

Login Page - Create Account