hstradeking-0.1.0: Tradeking API bindings for Haskell

Safe HaskellNone

Finance.TradeKing.Quotes

Description

High-level access to TradeKing APIs

Synopsis

Documentation

stockQuotes :: TradeKingApp -> [Stock] -> IO [StockQuote]Source

Retrieve the stock quotes for the stocks specified.

stockInfos :: TradeKingApp -> [Stock] -> IO [StockInfo]Source

Retrieve information on the stock symbols specified.

streamQuotes :: TradeKingApp -> [Stock] -> (Source (ResourceT IO) StreamOutput -> ResourceT IO b) -> IO bSource

Run a streaming operation on the stocks specified. This takes a function which will be passed a Source from Conduit that will yield the streaming quote information.