OrderID

class oandapyV20.types.OrderID(orderID)

representation of an orderID, string value of an integer.

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

Example

>>> print OrderID(1234).value

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

__init__(orderID)
value

value property.