Cashed out and lost money

I bought at around 40% for Philly weather 39-40 degrees and when it reached 97% I cashed out and it said I would get $400 but instead I lost $200! What is the reason for this and is there any way I can get it back?