| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
OANDA.Pricing
Description
Defines the endpoints listed in the Pricing section of the API.
Documentation
Constructors
| Price | |
Fields
| |
data PricingArgs #
Constructors
| PricingArgs | |
Fields
| |
Instances
pricingArgsInstruments :: Lens' PricingArgs [InstrumentName] #
pricingArgs :: [InstrumentName] -> PricingArgs #
oandaPricing :: OandaEnv -> AccountID -> PricingArgs -> OANDARequest PricingResponse #
data PricingStreamArgs #
Constructors
| PricingStreamArgs | |
Fields
| |
Instances
pricingStreamArgsInstruments :: Lens' PricingStreamArgs [InstrumentName] #
pricingStreamArgs :: [InstrumentName] -> PricingStreamArgs #
data PricingHeartbeat #
Constructors
| PricingHeartbeat | |
Fields
| |
Instances
data PricingStreamResponse #
Constructors
| StreamPricingHeartbeat PricingHeartbeat | |
| StreamPrice Price |
oandaPricingStream :: OandaEnv -> AccountID -> PricingStreamArgs -> OANDAStreamingRequest PricingStreamResponse #