Support Board
Date/Time: Fri, 31 Jan 2025 20:51:19 +0000
Scaling into position issue
View Count: 1067
[2019-05-30 17:19:33] |
User116783 - Posts: 84 |
Hello, I am having an issue scaling into a position with BitMEX. I am using a simple bracket order with attachments; a stop-limit for the parent, and 2 stops and 1 profit target. Taking half off the position when I reach my risk. So the issue is, when I place an order (we will call this order A) with attachments, and it fills, then when I add to my position at higher price, and place another order (we will call this order B) when order B fills and gets stopped out, my new position is not the price I was originally filled at with order A. It is the price I was filled with order B. Which causes me to have a higher liquidation price. As I scale into a position, I need the parent orders that are filled to only be closed by the attached orders they were originally submitted with. In the previous example, order A's parent order was closed by order B's attached stop-loss. Which was the problem in a nutshell. ZS Date Time Of Last Edit: 2019-05-30 17:25:15
|
[2019-05-31 02:52:13] |
Sierra Chart Engineering - Posts: 104368 |
my new position is not the price I was originally filled at with order A This sounds like you are referring to the Position Average price. There are various calculation methods for this. Refer to:Trading Information Windows: How Average Price for Positions Is Calculated and Used This is the calculation method you will want to use: Use First In First Out Fill Matching for Open Position 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 Date Time Of Last Edit: 2019-05-31 02:52:24
|
[2019-05-31 02:56:57] |
User116783 - Posts: 84 |
Thanks for the reply. It turns out the issue was that BitMEX only allows one bundled position with one multiple of leverage. This is why trade A "disappeared" when trade B got filled. ZS Date Time Of Last Edit: 2019-05-31 03:00:00
|
To post a message in this thread, you need to log in with your Sierra Chart account: