mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-18 12:20:12 +08:00
Improves the query for futures contract to use the date that comes first in time (between notice_date and expiration_date) to determine cotnract validity. If one of these is missing, we'll use the other. Also modifies the query to order the resulting contracts by their expiration_date if available, and to use their notice_date if not.