-
Notifications
You must be signed in to change notification settings - Fork 143
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
Stop as a percent of trade. #74
Comments
Hi, now, why not just have a utility function that calculates those values for you and use it every time you call the buy() method? |
Hi Thank you for a quick response. My vote is to support it as it is good practice to submit stop loss as a percent of the executed price that executes on the server versus the client. Utility function and pass it to the server in a call? Like a lambda function? We are thinking of getting around this is by placing an order with stop loss as precalculated value and then go back update the stop loss price when we have the executed price. Thanks
|
Hi submit your feature request through the correct channel: |
closing due to lack of activity |
Is there a way to submit the stop price as the percent instead of a pre-calculated value? i.e. We want to submit a market order with a stop loss of .1%. Our preference is to submit a stop loss as a percent of the executed price, not calculated based on the current price or close price. Let's take an example. Assume the close price is 100 when we placed a market order which gets filled at 100.99 (executed price), in this case, we want the stop loss to be 100.99*.999 instead of 100 *.999.
Thanks in advance.
The text was updated successfully, but these errors were encountered: