Trading Strategy of Cryptocurrencies Essay

  • Length: 6 pages
  • Sources: 1
  • Subject: Marketing
  • Type: Essay
  • Paper: #32268571

Excerpt from Essay :

Clustering Cryptocurrencies

1. Introduction

Why is clustering interesting? How to value cryptocurrencies has been a major question ever since so many began finding their way to market. As Qunitero (2018) points out, “having a clear and unbiased benchmark while evaluating new decentralized projects in the crypto economy” could help to answer the question of valuation. Clustering commonly occurs around token type: thus, one routinely sees the clustering of currency tokens, platform tokens, utility tokens, brand tokens, and security tokens. Yet these are not the only clusters that may appear, the more closely one looks at the space. As clustering shows which cryptocurrencies move in tandem at the top of the market cap, it is useful to examine clustering cryptocurrencies to see what similarities in movement might tell us.

Are fundamental similarities backed by market metrics? That is the main question to be asked and an important one because clusters can be used to formulate trading strategies. However, Qunitero (2018) notes that there is more than one cluster in the cryptocurrency space—in fact, there are numerous ones. Identifying them and understanding the relationship among assets is critical to devising a successful trading strategy. Identifying clusters as part of developing a trading strategy for cryptocurrencies could help make the space far more viable for investors and speculators alike. “There do seem to exist natural clusters of coins that move in tandem,” Quintero (2018) states—which means more cryptocurrency samples need to be examined in order to clarify the seeming relationships.

2. Method and Results

Part I: Developing a Method

The problem of time series clustering can be considered as finding a function:

$$f(X_T) = y \\in [1...K]$$$$\\text{for }X_T=(x_1, ..., x_T)$$$$\\text{with }x_T \\in\\mathbb{R^d}$$

where T is timeline length and K is particular cluster. This should be conducted with representation of time series as a set of selected features vi of fixed size D independent of T.

With this representation, applying standard clustering algorithms on this feature set can be possible. The main question is what features to consider when applying the algorithm? For the purpose of this study, we identified multiple time series describing each coin and we also constructed derivative parameters to define these series.

Next, we devised a method of moving from simple to complex in terms of identifying clusters:

1. We used common, standard features for each series (parameter): Means, Medians, Standard deviations, Skewness, and Kurtosis.

2. We used tsfresh library to automate the
Parts of this Document are Hidden
Click Here to View Entire Document
process of features extraction.

3. We applied both approaches to series fragmented by state of BTC.


It was important to identify a clustering method that could be applied quickly to facilitate trading and allow easy scaling. The clustering method selected, therefore, was DBSCAN, one of the most universal and applicable algorithms available today. The DBSCAN algorithm views clusters as areas of high density separated by areas of low density. Due to this simple if generic function, clusters found by DBSCAN can take any shape, as opposed to the k-means method, which assumes that clusters are convex shaped. As the purpose of this study was to identify clusters without applying presupposed views of what they should look like, the k-means method was inappropriate and DBSCAN, with its basic approach to recognizing clusters, fit much more effectively. This is why the data obtained in this study is quite rarified.

The central component to the DBSCAN is the concept of core samples, which are samples that occur in areas of high density. A cluster is therefore a set of core samples, each close to one another (measured by a distance measure) and a set of non-core samples that are close to a core sample (but are not themselves core samples). There are two parameters to the algorithm, min_samples and eps, which define formally what is meant by density. Higher min_samples or lower eps indicate higher density necessary to form a cluster.

The additional advantage of DBSCAN is the calculation of an estimated number of clusters that it permits. Using DBSCAN, top-level clusters could be obtained using data presence across all given coins. The Extractor function of basic features was applied to each large cluster identified. Clustering then became possible inside top-level clusters following the application of this function.

This quite basic method of features extraction for the development of coin profiles can be scaled: for example, features can be extracted for different periods of time, forming wider sets of features for each coin. Alternatively, a measure of similarity can be found for different periods and compiled in unified metrics across all periods. In short, clustering can be conducted across multiple variables as inputs. The next step in the process was to perform clustering relying on extracted features and additionally to use tsfresh library as an alternative approach.

Part II: Clustering Inside Top-Level Clusters

To accomplish clustering inside top-level clusters, which were identified using DBSCAN, Hierarchical Density-Based Spatial Clustering of Applications with Noise (HDBSCAN)…

Cite This Essay:

"Trading Strategy Of Cryptocurrencies" (2018, September 18) Retrieved October 28, 2020, from

"Trading Strategy Of Cryptocurrencies" 18 September 2018. Web.28 October. 2020. <>

"Trading Strategy Of Cryptocurrencies", 18 September 2018, Accessed.28 October. 2020,