Safe Haskell | None |
---|---|
Language | Haskell2010 |
Defines the endpoints listed in the Trades History section of the API.
- data Trade = Trade {
- tradeId :: !Int
- tradeUnits :: !Int
- tradeSide :: !Side
- tradeInstrument :: !Text
- tradeTime :: !ZonedTime
- tradePrice :: !Decimal
- tradeTakeProfit :: !Decimal
- tradeStopLoss :: !Decimal
- tradeTrailingStop :: !Decimal
- tradeTrailingAmount :: !Decimal
- openTrades :: OandaEnv -> AccountID -> IO (Vector Trade)
- tradeInfo :: OandaEnv -> AccountID -> TradeID -> IO Trade
Documentation
Trade | |
|