Skip to main content
4 events
when toggle format what by license comment
Apr 25, 2018 at 23:49 comment added Helin @Prash It depends on how you construct the inputs. If you have one DataFrame for closing prices and one DataFrame for opening quotes with matching columns names, you can divide the two (with appropriate shifts) directly. You can also play around with higher dimensional data structures like xarray.
Apr 25, 2018 at 23:44 comment added Prash thanks, but that still means I have to run one loop for j number of stocks right?
Apr 25, 2018 at 23:43 vote accept Prash
Apr 25, 2018 at 23:43
Apr 25, 2018 at 3:10 history answered Helin CC BY-SA 3.0