-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After installing tia- I am still not able to connect to Bloomberg #54
Comments
You need to convert all py files under tia from version 2 to 3 using the python 2to3 command. Open a command prompt, navigate to the tia folder and run: 2to3 –w *.py
Thanks,
Vikram
From: rajuraja19 [mailto:notifications@github.com]
Sent: Wednesday, June 12, 2019 8:26 AM
To: bpsmith/tia
Cc: Subscribed
Subject: [bpsmith/tia] After installing tia- I am still not able to connect to Bloomberg (#54)
This email is from an external source - exercise caution regarding links and attachments.
Hi,
When I run following code , I get an error.
import pandas as pd
import tia.bbg.datamgr as dm
File "C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
from tia.bbg import LocalTerminal
File "C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\tia\bbg_init_.py", line 1, in
from tia.bbg.v3api import *
File "C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\tia\bbg\v3api.py", line 186
print 'unhandled event: %s' % evt.EventType
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('unhandled event: %s' % evt.EventType)?
I am not sure , whether I have been able to reference to local Bloomberg terminal.
Regards,
RS
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#54?email_source=notifications&email_token=AJUYMYXCUTQU5ZJDM5YJAMLP2A7AVA5CNFSM4HXELLA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GY6D6AQ>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJUYMYR5T4G2BFANVD7SHYLP2A7AVANCNFSM4HXELLAQ>.
|
Or just use the forked library from Paul Mest's github. It is compatible
with Python 3.
…On Wed, 12 Jun 2019, 01:25 rajuraja19, ***@***.***> wrote:
Hi,
When I run following code , I get an error.
import pandas as pd
import tia.bbg.datamgr as dm
File
"C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py",
line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
from tia.bbg import LocalTerminal
File
"C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\tia\bbg_
*init*_.py", line 1, in
from tia.bbg.v3api import *
File
"C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\tia\bbg\v3api.py",
line 186
print 'unhandled event: %s' % evt.EventType
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print('unhandled event: %s' % evt.EventType)?
I am not sure , whether I have been able to reference to local Bloomberg
terminal.
Regards,
RS
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54?email_source=notifications&email_token=AGL2ISBGXYHJ33OA5UOQOETP2A7ATA5CNFSM4HXELLA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GY6D6AQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGL2ISF2KZ7Y7YIQJB7WUD3P2A7ATANCNFSM4HXELLAQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When I run following code , I get an error.
import pandas as pd
import tia.bbg.datamgr as dm
File "C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
from tia.bbg import LocalTerminal
File "C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\tia\bbg_init_.py", line 1, in
from tia.bbg.v3api import *
File "C:\Users\raj.sharan\AppData\Local\Continuum\anaconda3\lib\site-packages\tia\bbg\v3api.py", line 186
print 'unhandled event: %s' % evt.EventType
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('unhandled event: %s' % evt.EventType)?
I am not sure , whether I have been able to reference to local Bloomberg terminal.
Regards,
RS
The text was updated successfully, but these errors were encountered: