September 2018
Intermediate to advanced
398 pages
9h 43m
English
We now have all of the pieces to fetch transactions and put them in Dataset[HttpTransaction]. But it would not be wise to store these objects as they are and then run some analytics with them, because of the following:
The API could change in the future, but we would want to keep the same storage format regardless of these changes
As we will see in the next chapter, the Bitstamp WebSocket API for receiving live transactions uses a different format
All of the attributes of HttpTransaction are of the String type. It would be easier to run analytics if the attributes were properly typed
For these reasons, it would better to have a different class that represents a transaction. Let's create a new ...
Read now
Unlock full access