Docker – Pivot Billions https://pivotbillions.com Fri, 16 Sep 2022 23:21:15 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.26 Blazing Fast Financial Backtesting from R https://pivotbillions.com/blazing-fast-financial-backtesting-from-r/ Thu, 25 Oct 2018 00:00:17 +0000 https://www.pivotbillions.com/?p=1091 continue reading »]]>

 

As a data scientist, whenever I am developing and testing financial models in R I’ve consistently run into data size limitations, large or distributed compute clusters, and many long waits for my results to be processed and returned. That's why I was genuinely impressed with how our recently released docker image of Pivot Billions, enables me to perform extremely fast backtesting of financial models from R in real time. The sheer power and efficiency of our tool was surprising. It was able to backtest my model on over 140 million rows of data in less than 9 seconds. The fact that it's a free solution makes it a big plus for the data science community.

Pivot Billions not only allowed simulations across massive amounts of financial data from the comfort of R, but did it from a free docker image running on a single r4.large Amazon EC2 instance ($0.133/Hour). This made it a lot simpler to develop my financial model as each iteration of my testing was done in seconds and the whole process was much more interactive.

The simplicity of the R integration allowed me to control my model and testing parameters and view and analyze the results directly from R. Behind-the-scenes, our custom-built time series database and trading module handled the brunt of the work. Having access to the whole 5.5 years of Raw Currency Tick Data allowed me to see the full granularity of my trading strategy in real time, greatly enhancing my development process.

Enhancing R with Pivot Billions created a pretty powerful combination.

If you want to try it out for yourself, I've posted a link to the R script. Just download and access with RStudio.

Links:
Backtesting R Script

Details of Setup:

  • 1 memory-optimized r4.large Amazon EC2 instance: $0.133 / Hour
  • 7.5 GB used
  • 5.5 Years of Raw Tick Data Analyzed
  • 143,143,685 Rows of Data Analyzed in 8.37 Seconds

Backtesting Detail:
The time series database and trading module were developed internally as a project specifically for backtesting financial models quickly, simply, and accurately. Both the database and module have been verified against real-world trades through a broker and allow risk-free exploration and testing of your models in real-time.  They are included in the Docker version of Pivot Billions for free.  If you need help using these features, contact us at info@pivotbillions.com.

]]>
Pivot Billions Docker Release Announced https://pivotbillions.com/pivot-billions-docker-release-announced/ Mon, 10 Sep 2018 17:32:08 +0000 https://www.pivotbillions.com/?p=612 continue reading »]]> Pivot Billions (PB) is now officially available for download via Docker Hub. See our Press Release on PRWeb.

With PB on Docker, anyone can try it out for Free! Just install Docker, if you don’t already have it, and then follow the install instructions for PB found here. When you are finished, access locally on your PC via a web browser and begin analyzing your own local data.

With this local install version you can easily load, explore, transform and analyze data in the range of tens of millions of rows in just a few minutes.

]]>