
7Vc           @   s   d  Z  d d d     YZ d S(   s2   
Created on Wed Sep 16 21:17:34 2015

@author: ka
t   Optionsc           B   s8   e  Z d  d  d d d d d d d d d 
 Z d   Z RS(   R    g        t    i    c         C   s   | |  _  d |  _ | |  _ | |  _ | |  _ | |  _ | |  _ | |  _ | |  _ |
 |  _	 | |  _
 | |  _ | |  _ | |  _ | |  _ | |  _ | |  _ d  S(   NR    (   t   codet
   entityTypet
   optionTypet	   callOrPutt   premiumt   striket
   volatilityt
   expiryDayst   riskfreeRatet   valuet   deltat   gammat   vegat   thetat   rhot	   buyOrSellt   quantity(   t   selfR   R   R   R   R   R	   R
   R   R   R   R   R   R   R   R   R   R   (    (    s<   /var/www/OptionsCentralService/app/entity/product/Options.pyt   __init__
   s"    																c         C   s   i |  j  d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d	 6|  j	 d
 6|  j
 d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6|  j d 6S(   NR   R   R   R   R   R   R   R	   R
   R   R   R   R   R   R   R   R   (   R   R   R   R   R   R   R   R	   R
   R   R   R   R   R   R   R   R   (   R   (    (    s<   /var/www/OptionsCentralService/app/entity/product/Options.pyt	   serialize#   s$    















(   t   __name__t
   __module__R   R   (    (    (    s<   /var/www/OptionsCentralService/app/entity/product/Options.pyR       s   N(    (   t   __doc__R    (    (    (    s<   /var/www/OptionsCentralService/app/entity/product/Options.pyt   <module>   s   