HOW ARE BID AND ASK HANDLED? / HOW ARE BID AND ASK HANDLED?
How are Bid and Ask handled?
Clear answers before you build.

Long positions open at Ask and close at Bid. Short positions open at Bid and close at Ask. Spread remains separate from unfavorable slippage.
Bid and Ask are different sides of the quoted market, and the difference can matter when evaluating historical execution. Costs and adverse movement can affect a result materially.
Make those assumptions visible so you can judge whether a result is relevant to the way you intend to trade.
