Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Activating stop orders before it hits the limit price #463

Copy link
Copy link
@atakanokan

Description

@atakanokan
Issue body actions

Hi,
Especially in volatile situations, I have seen some of my stop orders were run past because the limit price and stop price are the same thus there is a chance that it will not be put on the order book as fast as needed.

Current code:

self.auth_client.place_stop_order(
                product_id = ticker,
                stop_type = stop_type,
                price = price,
                size = size
            )

Looks like place_stop_order doesn't allow to specify different limit_price and price arguments. However place_order method does.
How should I specify the side, price and stop_type and stop_price arguments for the following to make sure they are activated a little bit before to ensure execution (assuming I want the stop to be activated 5$ before the stop price)?

  1. Long position & Stop Loss
  2. Long position & Take Profit
  3. Short position & stop loss
  4. short position & take profit

Any help would be appreciated!

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.