Access data in Excel - Reuter from python

后端 未结 4 1940
[愿得一人]
[愿得一人] 2020-12-14 13:37

I\'m using Reuters integrated in Excel to retrieve market data. For task automation , I currently use VBA but now I want to switch to python. The package pyxll

相关标签:
4条回答
  • 2020-12-14 13:56

    you can launch the add-ins with this code: make sur before you have the automatic sign-in selected.

    Import win32com.client
    xl = win32com.client.DispatchEx("Excel.Application")
    
    0 讨论(0)
  • 2020-12-14 13:59

    Try this -

    import os
    from win32com.client import GetObject
    
    os.startfile(r'C:\path\to\ReutersExcel.exe')
    xlApp = GetObject(None, 'Excel.Application')
    
    0 讨论(0)
  • 2020-12-14 14:08

    If you're using Excel to access Thomson Reuters Dataworks Enterprise (former Datastream), then have a look on pydatastream (https://github.com/vfilimonov/pydatastream) - it'll allow you to get the data directly to python in pandas.DataFrame format.

    0 讨论(0)
  • 2020-12-14 14:18

    If you are using Excel VBA, it is have a very high chance for an incorrect result (You also have a very hard time to write more codes to handle states that might cause the problem as well).

    From my experience, we should consume the data directly from the feed and manipulate it. It is easily to maintain as well as reliable (Definitely I do this in python).

    I am using PyRFA to consume the data from my P2PS and manipulate it (This API is great as it currently free of charge! it provides both consumer and provider capability). Here's more detail of this API:

    http://www.devcartel.com/pyrfa

    What you need to do is contacting to their support team for more details and boom coding begin!

    Cheers, Michael

    0 讨论(0)
提交回复
热议问题