pub fn parse_expiry_date_to_unix( currency: &str, expiry: &str, ) -> Result<u64, String>
Parse a YYYY-MM-DD expiry date into the Unix timestamp at which the given currency’s instruments expire on that date.
YYYY-MM-DD