In this case, it's a question of how to determine if the last trade was profitable, and how to determine if the last trade was profitable.
Inventors quantify - small dreamsHello, you can calculate the price by the last open price, the price by the last close price.