Closed wassname closed 6 years ago
Hi, nice to see you again.
In the paper it said you have
y(t) = close(t)/open(t)
but in the code there isy(t) = close(t)/close(t-1)
I think in the article, what we want to express is y(t) = close(t)/close(t-1)
.
The paper also divides the batch
X
by theopen(t)
(X=M/open(t)
) but in the code it doesn't look like it's divided/scaled (X=M
)?
It's done in the tensorflow code(network.py) for saving memory.
Thanks! Cheers for clarifying, that makes sense.
Both I and @goolulusaurs (who has been working with me) misinterpreted that part of the paper so it might be worth considering a rephrase when you do version 2 of the arxiv paper.
Both I and @goolulusaurs (who has been working with me) misinterpreted that part of the paper so it might be worth considering a rephrase when you do version 2 of the arxiv paper.
Yes, I agree.
In the paper it said you have y(t) = close(t)/open(t) but in the code there is y(t) = close(t)/close(t-1)
Quoting from our paper:
For continuous markets, elements of v_t are the opening prices for Period t + 1 as well as the closing prices for Period t.
That means we assumed open(t) = close(t-1) there.
Ah didn't see that, thanks.
Thanks for putting the code up. Can I ask for a minor clarification?
In the paper it said you have
y(t) = close(t)/open(t)
but in the code there isy(t) = close(t)/close(t-1)
The paper also divides the batch
X
by theopen(t)
(X=M/open(t)
) but in the code it doesn't look like it's divided/scaled (X=M
)?Heres the code I'm talking about. I think the shape of M is (batch, features, coins, times) where features are ["close", "high", "low", "open"].
Have these things changed since the paper or am I misunderstanding something?
Thanks!