If i close out my 5 short dow will it get the profit which shows $352,415

because the value is 0?

No, it won’t.

We needed to switch some of our quote feeds around, and when we do there are transient and temporary zero prices when we mark-to-market positions in your Model Account. They do not affect anything and update themselves automatically within a few minutes. I’m sorry for the trouble. Your system’s prices are now back to normal.

Then it would make sense to write in the code …for the number 0 to be ignored and the older number to stay until a new value that is within say…90% of the prior price.