Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3.x #12

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

python 3.x #12

wants to merge 19 commits into from

Conversation

cove9988
Copy link

A great project. Let it works on Python 3.x

We hold 80% of the time and buy or sell 10% of the time each.

Returns:
numpy.array: array with a 1 on the action index
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the end of your file is missing.
I usually use this to generate a random action (if that ever helps):

np.eye(3)[np.random.choice(3, p=[0.95, 0.025, 0.025])]

(thx for your interest in this!)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cove9988
Copy link
Author

cove9988 commented Nov 6, 2017

JR, thanks for your PR, however, It needs to be reviewed by Prediction-Machines before merging. However, there might not actively maintain the repo anymore. Could you PR your changes to my github so that I can test it and merge it.

Many thanks

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.

2 participants