B
     9-e  ã               @   s   d Z G dd„ dƒZdS )zÊ
Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is subject to the terms
 and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable.
c               @   s   e Zd Zdd„ Zdd„ ZdS )ÚEnumc             G   s6   i | _ x*t|ƒD ]\}}t| ||ƒ || j |< qW d S )N)Úidx2nameÚ	enumerateÚsetattr)ÚselfÚargsÚidxÚname© r	   ú³G:\My Drive\STUDY\EPAT\09 TBP - Trading & Back-testing Platforms\TBP04 - Backtesting & Live Trading\IB IBridgePy API\02 Python 3.7 IBridgePy_Win_Anaconda37_64\ibapi\enum_implem.pyÚ__init__   s    zEnum.__init__c             C   s   | j  |d¡S )NZNOTFOUND)r   Úget)r   r   r	   r	   r
   Úto_str   s    zEnum.to_strN)Ú__name__Ú
__module__Ú__qualname__r   r   r	   r	   r	   r
   r      s   r   N)Ú__doc__r   r	   r	   r	   r
   Ú<module>   s   