Hi XQ 小編,
XScript 如果例如用 Round(12.12345,2) 取小數後兩位為 12.120000,為何出來後面會補 0呢?可以為 12.12就好嗎? 有解嗎?
或是 Position Filled Loss_percent ,後面都補0

it = (Close -FilledAvgPrice) / close;
print (File("C:\09_Temp\Print\01_auto\[StartTime]_[Symbol].log"),"初始值,","Position=",Position,"Filled=",Filled,"loss_percent=",loss_percent,"FilledAvgPrice=",FilledAvgPrice,"CP=",Round(current_profit*100,2),"%");
3 評論