AccountID

class oandapyV20.types.AccountID(accountID)

representation of an AccountID, string value of an Account Identifier.

Parameters:accountID (string (required)) – the accountID of a v20 account

Example

>>> print AccountID("001-011-5838423-001").value

A ValueError exception is raised in case of an incorrect value.

__init__(accountID)
value

value property.