TradeID

class oandapyV20.types.TradeID(tradeID)

representation of a tradeID, string value of an integer.

Parameters:tradeID (integer or string (required)) – the tradeID as a positive integer or as a string

Example

>>> print TradeID(1234).value

A ValueError exception is raised in case of a negative integer value

__init__(tradeID)
value

value property.