Support Board
Date/Time: Wed, 15 Jan 2025 16:08:27 +0000
Post From: Finding Fill Price for a manual placed trade
[2017-06-29 19:19:06] |
Joel Wisdo - Posts: 15 |
I am having a little bit of trouble finding the trade prices of 2 trades that are manually entered as limit orders. One trade will be a buy limit order and the other will be a sell limit order The goal is - if a trade enters into a buy limit order it will calculate the difference between the entry of the buy limit order and the price of sell limit order that has yet to be filled and vice versa. If you can point me in the right direction on how to find these 2 different prices, I would be grateful and thank you for your help ahead of time. I have weeded through the documentation and I am little confused on how to use sc.GetLastPriceForTrading() and the other sc.Get.... fuctions |