quiverquant 0.2.2

A crate for accessing the QuiverQuant API.
Documentation
//! Data Types for the Government Contracts DataSet
//!
//! From the QuiverQuant API:
//! > USASpending.gov is the official open data source of federal spending information. Using their
//! API, we are able to track how much money companies are awarded through government contracts.

use super::*;

pub type GovContracts = Vec<GovContract>;

#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct GovContract {
    /// Company Ticker
    pub ticker: Option<Ticker>,
    /// Year
    pub year: usize,
    /// Calendar Quarter
    pub qtr: usize,
    /// Total government contract $ for ticker in given quarter
    pub amount: Option<f64>,
}