0:00:01.370,0:00:05.730 Hi this is Tom from Coherent Logic I'm going to take you through the 0:00:05.730,0:00:11.880 installation and some use cases for the Coherent Datafeed for the Refinitiv (Thomson 0:00:11.880,0:00:18.590 Reuters) Electron Platform, so let's start. 0:00:19.640,0:00:25.260 We have one dependency here which is not provided by the package and that's the 0:00:25.260,0:00:31.820 RFA dependency. I've renamed it simply so that we can see the version number and 0:00:31.820,0:00:38.660 that's sitting in my temp folder so step one we need to install the package and 0:00:38.660,0:00:42.379 I'll do that now. 0:00:48.480,0:00:53.970 So one thing I have not mentioned I already have the RJava and RJSONIO 0:00:53.970,0:01:02.820 package installed so I will skip that step. The next step once this 0:01:02.820,0:01:10.680 package has been installed is to execute this line here because we need to be 0:01:10.680,0:01:17.040 able to tell the package that there's an extra dependency and we do that by 0:01:17.040,0:01:22.460 setting the CDATAFEED jars list option. 0:01:41.440,0:01:47.620 So when that's complete then this message here is telling you effectively 0:01:47.620,0:01:51.840 about the next line of code that we're going to execute and that is this one so 0:01:51.840,0:02:00.690 we'll execute this now. That's done now. We can call the library and load it and 0:02:01.380,0:02:09.460 that's good. So now that we're ready to work with the library we need to take 0:02:09.460,0:02:12.820 one extra step: this needs to be done exactly one time and that is that we 0:02:12.820,0:02:24.550 need to initialize the library. Okay so we will now login to Thomson Reuters 0:02:24.550,0:02:29.340 Elektron that's this line here 0:02:33.010,0:02:42.549 and we're done so we'll work with some time series data in this step so I have 0:02:42.549,0:02:50.950 the RIC for Cisco and I set a period to monthly go ahead and execute this and 0:02:50.950,0:03:00.459 I'm going to execute this all the way up to the sign here you can see this plot 0:03:00.459,0:03:15.299 here. So there are two other options: we have daily and weekly. To try this... 0:03:23.900,0:03:27.189 ...and we have weekly 0:03:38.310,0:03:43.780 OK Now that that's done we can try any of 0:03:43.780,0:03:49.600 the available RICs that Thomson Reuters offers but I think that gets the 0:03:49.600,0:03:53.310 point across so the next step for us is to take a look at some other 0:03:53.310,0:03:59.830 functionality that's provided and that is collecting real-time market price 0:03:59.830,0:04:05.980 updates from Thomson Reuters and we can query any number of symbols that we want 0:04:05.980,0:04:12.160 in this case but depending on how much power your machine has your performance 0:04:12.160,0:04:19.600 may vary so here's what we need to do: first step we need to query and I'll run 0:04:19.600,0:04:24.880 that. Okay so we're done and now in this next step all we're going to do is print 0:04:24.880,0:04:34.960 the update and I won't do anything with the update because then that gets into 0:04:34.960,0:04:43.750 analysis and this is just a very brief basic introduction so here we go: this is 0:04:43.750,0:04:46.320 no longer needed, 0:04:48.640,0:04:53.110 you can see the update streaming in. 0:05:38.080,0:05:41.939 Let me show you another feature: 0:05:46.139,0:05:56.129 so this is using Java to make the call to Thomson Reuters and that means that 0:05:56.129,0:06:02.729 we can connect to the virtual machine using the JConsole tool and we can take 0:06:02.729,0:06:05.719 a look at some of the stats. 0:06:13.169,0:06:18.479 Okay that's our process so we know that this is the process because we're using 0:06:18.479,0:06:24.210 Infinispan and HornetQ internally so when we connect we can take a look at 0:06:24.210,0:06:28.830 some in-memory usage as well as the number of threads classes and cpu usage 0:06:28.830,0:06:38.610 and for this example. We're not really processor heavy and memory is pretty 0:06:38.610,0:06:49.339 decent as well and for our MBeans we can take a look at HornetQ 0:06:57.340,0:07:05.050 and you can see our messages added and the current message count in the queue and it 0:07:05.050,0:07:12.600 will go up and down depending on how busy it is. 0:07:19.260,0:07:24.930 So that's our brief introduction I won't keep you thanks for your time if you 0:07:24.930,0:07:30.510 have questions you can put them in the comments section and be happy to help 0:07:30.510,0:07:32.630 you. 0:07:36.380,0:07:38.440 ...