Real-Time Crypto
Free!
With Membership
$7.99
Suggested price

Real-Time Crypto

A big data approach to analyzing & automating cryptocurrency trading

About the Book

Have you ever wondered how to build a cryptocurrency trading bot? Have you wondered how you can apply machine learning to the financial markets? Have you wondered how you can get out of Excel and into the world of big data? You have come to the right place! Welcome to Real-Time Crypto. In this book, we will build on your basic Python and data skills and turn you into a bona fide big data engineer. Along the way, you will learn how to trade cryptocurrency in real-time, using cutting edge big data technology and machine learning.

Who This Book Is For

If you’re interested in the intersection of cryptocurrency and automation this book is for you. If you want to learn about cutting edge big data architectures this book is for you. If you’d like to learn about machine learning and time series forecasting, well, guess what? This book is for you! Ideally, you have a basic understanding of the Python programming language so that you can follow along and build your own trading bot using the book’s code examples. If you don’t know how to write code this book offers a great overview of cryptocurrency, blockchain, big data technologies, and how they all fit together.

What You’ll Learn

  • Learn to build a real-time cryptocurrency trading bot
  • Use machine learning algorithms on Bitcoin data to predict future prices
  • A practical understanding of Apache Spark, Kafka, and Elasticsearch
  • Comprehensive code examples showing you how to build a cryptocurrency machine learning pipeline from soup to nuts
  • Everything you need to quickly and easily visualize your bot’s performance using Elasticsearch and Kibana
  • Share this book

  • Categories

    • Data Science
    • Python
    • Distributed Systems
    • Finance
  • Feedback

    Email the Author(s)

About the Author

Brandon Rose
Brandon Rose

Brandon Rose is passionate about sharing his knowledge of big data, machine learning and cryptocurrency. Brandon is a technologist with experience deploying big data applications in both the public and private sectors.


He has used Python to wrangle massive datasets and to build data pipelines with tools like Spark, Kafka, and Elasticsearch. Brandon is passionate about using Python for natural language processing and finding meaning in huge quantities of unstructured data. He is also interested in cryptocurrencies and has used Python to analyze the entire Bitcoin blockchain, revealing inefficient practices among the major players in the space.


He currently spends his time on a big data startup which is using geospatial data to build a product in the cybersecurity and physical security space.

About the Contributors

Robert Dempsey
Robert Dempsey

Robert Dempsey is a tested leader and technology professional delivering solutions and products that solve tough business challenges. His experience forming and leading agile teams combined with more than 17 years of technology experience enables him to solve complex problems while always keeping the bottom line in mind.

He founded and built three startups in tech and marketing, developed and sold online applications, consulted to Fortune 500 and Inc. 500 companies, authored the Python Business Intelligence Cookbook, and has spoken nationally and internationally on software development and agile project management. He has expertise in from-the-front leadership and mentoring, microservices architectures and API development, cloud services particularly Amazon Web Services, and distributed data gathering and processing systems.

Table of Contents

  • About the Author
  • Contributors
  • Disclaimer
  • Introduction
    • What is Real-Time Crypto?
    • Goals of the Book
    • Real-World Use Case
    • What this Book Assumes
    • What this Book does not Assume
    • Conventions
  • A Roadmap for what we’re Building
    • Developing a forecast
    • Streaming exchange data
    • Trading
    • Summary
  • Setting up your Environment
    • Github
    • Anaconda (Python)
    • Docker
    • Atom and SublimeText
  • Cryptocurrency and Blockchain: a Primer
    • Why Cryptocurrency?
    • How Bitcoin Works
    • Cryptocurrency Exchanges
  • The Pieces of the Pipeline
    • Kafka
    • Spark
    • Elasticsearch
    • Kibana
  • Bitcoin Price Forecasting
    • The Data
    • Prophet for Profit
  • Putting it all Together
    • Gemini Order Data
    • Calculating Market Liquidity with Spark Streaming
    • Building a Trading Bot
    • Configuring Kibana
  • Conclusion

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub