Safe Haskell | None |
---|
Low-level access to TradeKing API
- apiEndPoint :: TradeKing -> Command -> Format -> String
- invokeSimple :: TradeKingApp -> Command -> Format -> IO Response
- streamQuotes' :: TradeKingApp -> [Stock] -> (ResumableSource (ResourceT IO) ByteString -> ResourceT IO b) -> IO b
Documentation
invokeSimple :: TradeKingApp -> Command -> Format -> IO ResponseSource
Invokes a simple command signed with OAuth in the given format, and returns the Response
object.
streamQuotes' :: TradeKingApp -> [Stock] -> (ResumableSource (ResourceT IO) ByteString -> ResourceT IO b) -> IO bSource
Low-level quote streaming command. This differs from streamQuotes
in that the source it
provides produces ByteStrings.