Skip to content

fix np.array type to float64#27

Open
astankus wants to merge 1 commit intolilianweng:masterfrom
astankus:patch-1
Open

fix np.array type to float64#27
astankus wants to merge 1 commit intolilianweng:masterfrom
astankus:patch-1

Conversation

@astankus
Copy link

@astankus astankus commented Sep 9, 2018

some financial instruments have integer price.
if you try to normalize this seq, you got -1, 0, +1
to fix it you have to add dtype=np.float64, when you are creating np.array (line 34)

some financial instruments have integer price.
if you try to normalize this seq, you got -1, 0, +1 
to fix it you have to add dtype=np.float64, when you are creating np.array (line 34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant