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

self.buy(size=10.15) size can it be a floating point number greater than 1? #1129

Open
kxbin opened this issue Mar 27, 2024 · 2 comments
Open

Comments

@kxbin
Copy link

kxbin commented Mar 27, 2024

The size param can it be a floating point number greater than 1?

@coder145
Copy link

No, it has to be an integer if it is to be greater than 1.

@s-kust
Copy link

s-kust commented Aug 14, 2024

it has to be an integer if it is to be greater than 1

It will mean the number of stocks, not the proportion of your equity

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

No branches or pull requests

3 participants