crapher / pyhomebroker

Apache License 2.0
101 stars 42 forks source link

Settlement for Options order book #7

Closed leonardorame closed 3 years ago

leonardorame commented 3 years ago

Hi, which settlement should I configure for options?, I've tried 48hs, '' and None but all of them rase the exception pyhomebroker.exceptions.DataException: Settlement is not assigned.

Here's my config:


hb.online.subscribe_order_book('GGAL', '48hs')                                                                          
hb.online.subscribe_order_book('AL29D', '48hs')                                                                         
hb.online.subscribe_order_book('AL30D', '48hs')                                                                         
hb.online.subscribe_order_book('GFGC10081D', None)                                                                      
hb.online.subscribe_order_book('GFGC10981D', None)                                                                      
hb.online.subscribe_order_book('GFGC11281D', None)                                                                      
hb.online.subscribe_order_book('GFGC11581D', None)                                                                      
hb.online.subscribe_order_book('GFGC11881D', None)```
crapher commented 3 years ago

Fixed on version 0.2