Machine learning in trading: theory, models, practice and algo-trading - page 3427

 
mytarmailS #:

I criticised your attitude to risk, but I didn't gloat anywhere.

I see. I hope I explained my attitude to risks and why there are no stops. Stops are needed when there is a signal to change the trend.

 
Maxim Dmitrievsky #:

Been into this for a long time. There are books:

Non-Fractal Markets. Mandelbrot.

Fractal theory of the forex market. Almazov.

In general, the analogy is traceable.

like this

weierstrass <- function(x, a = 0.5, b = 3/2, n = 100) {
    sapply(x, \(x) sum(a^n * cos(b^n * pi * x)))
  }
  
x <- seq(-2, 2, by = 0.01)
y <- weierstrass(x) |> cumsum()
  
plot(x, y, type = "l")


 
Aleksey Vyazmikin #:

I don't want just a tree, I want a sequential clustering. Like in the diagram below. The number of clusters at each level should be set arbitrarily, as well as the depth of the tree.

https://scikit-learn.org/stable/auto_examples/cluster/plot_agglomerative_dendrogram.html#sphx-glr-auto-examples-cluster-plot-agglomerative-dendrogram-py

Plot Hierarchical Clustering Dendrogram
Plot Hierarchical Clustering Dendrogram
  • scikit-learn.org
This example plots the corresponding dendrogram of a hierarchical clustering using AgglomerativeClustering and the dendrogram method available in scipy. Total running time of the script:(0 minutes ...
 
mytarmailS #:

such as this

Yeah.

here's a paper from the '80s.

https://royalsocietypublishing.org/doi/epdf/10.1098/rspa.1980.0044

 
Maxim Dmitrievsky #:

Yeah

here's a paper from the '80s.

https://royalsocietypublishing.org/doi/epdf/10.1098/rspa.1980.0044

It's all alchemy to me.

 
mytarmailS #:

It's all alchemy to me.

groovy

 

Why this link - it seems to have already been discussed and worked out why it doesn't fit...

 
Aleksey Vyazmikin #:

Why the link - I thought it was already discussed and sorted out why it doesn't fit....

I haven't really looked into it, but it might be useful.

 
Maxim Dmitrievsky #:

I haven't really looked into it, but I just thought it might come in handy.

Thank you.

 
Maxim Dmitrievsky #:

groovy

weierstrass <- function(x, a = 0.5, b = 3/2, n = 100) {
    sapply(x, \(x) sum(a^n * cos(b^n * pi * x)))
  }
  
  seq(0,10,length.out=n) |> 
    weierstrass() |> 
    cumsum() |> 
    xts(Sys.time()+1:n) |> 
    to.minutes5() |> 
    chart_Series()
   


just like the market ))))))

Reason: