Hi,

The attached algo buys an ATM put or a call 3 minutes after the open, depending on the price action. I can print/debug the ask price for the ATM contract at this time and it matches with the fill price. But once I reach my exit criteria, I try to print the new current option bid/ask price, but it keeps giving me the price information of when the trade was entered. If you look at the logs, the first trade enters at 5.2, when the exit criterias are met, the price printed is still ask= 5.2 while the fill price is 8.4

My question is: how can I refresh the bid/ask price of an option and print it every minute, considering the option symbol is known, since the algo bought it during the entry signal. 

The goal is to track these latest prices to setup my exits criteria, i.e: if I bought at 5.2, I wanna exit at 0.5*entry or 1.5*entry. You will notice that currently then entry/exits are based on the stock movement and not the option value. 

Any help will be greatly appreciated.