How can I pick the contract that is closest to expire (apparently this usually has the most liquidity).

So do I just set this in initialize? What if rollover happens? I will need a way to update it periodically incase it changed? Or maybe always check right before making an order?

Anyways, I'm not sure the best way to do any of this.

Thanks!

Author

QuantHeart

a month ago