catalyst
catalyst copied to clipboard
catalyst.api.order_percent(self, asset, percent, limit_price=None, stop_price=None, style=None)
Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
- Operating System: (macOS High Sierra)
- Python Version:
$ Python 3.6.4 - Python Bitness:
$ [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin - How did you install Catalyst: (
pip) - Python packages: ``
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
-
What did you expect to happen? I was expecting that 100% of my portfolio will be used if I specify percent = 1
-
What happened instead? Each time it takes around 91-97%
Here is how you can reproduce this issue on your machine:
Reproduction Steps
- call the function
...
What steps have you taken to resolve this already?
...
Anything else?
...
Sincerely,
$ whoami
Hi @AndrejLischishin ,
What mode are you referring to?
Hi @lenak25, backtest