oanda-rest-api-0.1.0.0: Client to the OANDA REST API

Safe HaskellNone
LanguageHaskell2010

OANDA.Trades

Description

Defines the endpoints listed in the Trades History section of the API.

Synopsis

Documentation

openTrades :: OandaEnv -> AccountID -> IO (Vector Trade) Source

Gets a list of all open trades in an account.

tradeInfo :: OandaEnv -> AccountID -> TradeID -> IO Trade Source

Get info for a specific trade.