Questions tagged [thomson-reuters-eikon]

A service providing financial news and market data.

20 questions
0
votes
1 answer

passing two lists in third party API function

I have been stuck in this issue for many days. a = pd.date_range(start= '02/02/2017', end='06/02/2018', freq = 'D') c = a.format(formatter=lambda x: x.strftime('%Y-%m-%d')) for date_to in c: date_to= date_to print("date_to has…
Faisal
  • 151
  • 3
  • 10
0
votes
1 answer

Could not convert Date-Time to epoch milliseconds

2018-03-09T09:00:00.687294374+08 This is the date time data i've got from TRTH(Thomson Reuters Tick History) for HongKong. I want to convert it to epoch time but i am unable to do so because of the extra precision it has.I know only how to convert…
abhihacker02
  • 51
  • 1
  • 9
0
votes
1 answer

Python package function does not match C++ signature

I am trying to read a configuration file with the Pyrfa Python package. This is my code: import pyrfa p = pyrfa.Pyrfa p.createConfigDb("./pyrfa.cfg") p.acquireSession("Session1") p.createOMMConsumer() This code has been copied from…
Svalbard
  • 182
  • 2
  • 13
-2
votes
1 answer

How do I find the "risk free rate of return" dealing with Sharpe Ratio in a rolling function in Excel/Google sheets

I am trying to figure out how to find the "risk free rate of return" that will update automatically with the Sharpe ratio of multiple stocks/portfolios on a daily basis in Excel or Google Sheets. Sharpe ratio = (Mean portfolio return − Risk-free…
-2
votes
1 answer

How to copy 500 cell value in a loop and run it untill it reaches the last cell

i am trying to build a vba program in which i have 3 worksheets : sheet 1, sheet2 and sheet3, i will input the data in sheet 2 (column A : column E) and i want to copy first 500 rics to be copied from sheet 2 (column B) in sheet 1 (column A) and…
Naina
  • 127
  • 9
1
2