Skip to content
Discussion options

You must be logged in to vote

i used projectx api and found the solution , first this is correct

  modify_response = await suite["MNQ"].orders.modify_order(
        order_id=order_id,
        limit_price=float(new_price),
        size=2,  # Also increase size
    )

but order id will change ! so when you place order if you save here not working you have to again search for open orders and get order id and use here

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by infopinecodex-hue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant