mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 09:21:05 +08:00
9ecd7e18d0
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.