ig-python / trading-ig

A lightweight Python wrapper for the IG Markets API
https://trading-ig.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
308 stars 196 forks source link

ig_service.search_markets(search_term) provides Exception: validation.null-not-allowed.epics #284

Closed Leotheone closed 1 year ago

Leotheone commented 1 year ago

I get the following strange error when I execute the search_market function :

tests/test_ig_service.py:None (tests/test_integration.py) test_integration.py:349: in test_search_markets() test_integration.py:349: in test_ig_service response = ig_service.search_markets(search_term) ..........\AppData\Local\Programs\Python\Python310\lib\site-packages\trading_ig\rest.py:1360: in search_markets data = self.parse_response(response.text) ..........\AppData\Local\Programs\Python\Python310\lib\site-packages\trading_ig\rest.py:342: in parse_response_with_exception raise (Exception(response["errorCode"])) E Exception: validation.null-not-allowed.epics

bug-or-feature commented 1 year ago

https://trading-ig.readthedocs.io/en/latest/faq.html#what-if-i-have-a-problem