python - Trying to connect to Bloomberg API but program failing to connect? -


i'm using python 2.7. downloaded python 2.7 , c++ bloomberg api zip files here https://www.bloomberglabs.com/api/libraries/. able run:

from bloomberg.bbg_simple_api import bloombergapi 

however, when attempt call bloombergapi constructor so,

bbg = bloombergapi() 

i following error:

07apr2017_15:00:52.383 8868:1288 error blpapi_platformtransporttcp.cpp:671 blpapi.session.transporttcp.{1}.<localhost:8194> connection failed  07apr2017_15:00:52.383 8868:1288 warn blpapi_platformcontroller.cpp:371 blpapi.session.platformcontroller.{1} platform: 0 failed 1 consecutive connect attempts, stopped trying reconnect. 2017-04-07 15:00:52,382 - bloomberg.bbg_simple_api - error - failed open bloomberg api. 


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -