Safe Haskell | None |
---|---|
Language | Haskell2010 |
AllyInvest.Quote
Documentation
getQuotes :: Credentials -> [String] -> IO (Either AllyInvestError [Quote]) Source #
data TradeConditionCode Source #
Constructors
TradeHalted | |
TradeResumed | |
TradeConditionUnknown String |
Instances
Show TradeConditionCode Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> TradeConditionCode -> ShowS # show :: TradeConditionCode -> String # showList :: [TradeConditionCode] -> ShowS # | |
FromJSON TradeConditionCode Source # | |
Defined in AllyInvest.Quote Methods parseJSON :: Value -> Parser TradeConditionCode # parseJSONList :: Value -> Parser [TradeConditionCode] # |
data TradingSession Source #
Constructors
PremarketSession | |
RegularSession | |
PostmarketSession | |
MarketClosed |
Instances
Show TradingSession Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> TradingSession -> ShowS # show :: TradingSession -> String # showList :: [TradingSession] -> ShowS # | |
FromJSON TradingSession Source # | |
Defined in AllyInvest.Quote Methods parseJSON :: Value -> Parser TradingSession # parseJSONList :: Value -> Parser [TradingSession] # |
data DividendFrequency Source #
Instances
Show DividendFrequency Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> DividendFrequency -> ShowS # show :: DividendFrequency -> String # showList :: [DividendFrequency] -> ShowS # | |
FromJSON DividendFrequency Source # | |
Defined in AllyInvest.Quote Methods parseJSON :: Value -> Parser DividendFrequency # parseJSONList :: Value -> Parser [DividendFrequency] # |
data OptionDelivery Source #
Constructors
StandardSettlement | |
NonstandardSettlement | |
NoSettlement |
Instances
Show OptionDelivery Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> OptionDelivery -> ShowS # show :: OptionDelivery -> String # showList :: [OptionDelivery] -> ShowS # | |
FromJSON OptionDelivery Source # | |
Defined in AllyInvest.Quote Methods parseJSON :: Value -> Parser OptionDelivery # parseJSONList :: Value -> Parser [OptionDelivery] # |
data OptionStyle Source #
Constructors
AmericanOption | |
EuropeanOption |
Instances
Show OptionStyle Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> OptionStyle -> ShowS # show :: OptionStyle -> String # showList :: [OptionStyle] -> ShowS # | |
FromJSON OptionStyle Source # | |
Defined in AllyInvest.Quote |
data OptionClass Source #
Constructors
StandardOption | |
LeapOption | |
ShortTermOption |
Instances
Show OptionClass Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> OptionClass -> ShowS # show :: OptionClass -> String # showList :: [OptionClass] -> ShowS # | |
FromJSON OptionClass Source # | |
Defined in AllyInvest.Quote |
data OptionType Source #
Constructors
PutOption | |
CallOption |
Instances
Show OptionType Source # | |
Defined in AllyInvest.Quote Methods showsPrec :: Int -> OptionType -> ShowS # show :: OptionType -> String # showList :: [OptionType] -> ShowS # | |
FromJSON OptionType Source # | |
Defined in AllyInvest.Quote |
Constructors