Is there a way to update a simple margin trade position with stop loss and/or take profit options (without closing the active order and reopening a new order with one or more of these parameters included)?
You're confused about how those things work - they're not parameters to an order, but separate order types that you can enter at any time.
A stop's mechanism is "When the price gets this high, trigger a market buy" (for a stop buy) or "When the price gets this low, trigger a market sell" (for a stop sell). It's a happy coincidence that you can use that order type as a way to add some safety to a prior trade by, for example, selling off your position automatically if the market turns downward.
And a 'take profit', unless I'm mistaken, is just a limit order set somewhere off in the 'favourable' direction, waiting to cash you out when the market gets there.
Yes, I am a little confused about how Bitfinex's behavior can be programmed (preferably without utilizing their API with a trade bot).
I find their "How it works" a little oversimplified. I would prefer a more detailed documentation (may be including some examples) instead of this short and easy to read text about the very basics.
I am not a veteran trader. I didn't even do margin trades before. And every BTC exchanges are slightly different anyway, let alone that they might change over time (even without proper notice).
For example, I had used Kraken before. At first I could place multiple orders and let the executed one(s) indirectly cancel the other(s) (all orders were effective on the same common fund(s) which could run out) or create advanced order(s) (still possibly coexisting redundantly while overlapping on the same fund(s) for indirect cancellation by the other order(s), so it could possibly get too redundant on multiple levels...). Later they changed and got rid of the redundancies but they were too harsh. I had to start with their advanced order, I couldn't just place multiple orders on the same funds anymore (even if one advanced order offered slightly less than multiple orders could, still without too much redundancy). Note that I have never read about all this in their "documentation". I learned using Kraken by trial and error and noticed the change on the same way... And now it seems I have to do this with Bitfinex as well (learn by experimenting with small amounts).Now back to Bitfinex, I have had an open position, not an open order when I posted. (I closed it in the mean time.) I bought some BTC with leveraged $ (based on my BTC deposit).
I learned by trial and error that OCO parameters affect the order but not the position. I ended up buying less BTC than I could and I wished to (just to see if the OCO limit stops buying on market price as price rises as liquidity disappears). However, I didn't have anything at place which could automatically close my position while I slept (I missed some possible profit because I closed the position @401 after waking up, instead of @410 where I hoped to close).
Ahh, well, it was still closed with profit (not bad after some pause and a resume on a new exchange) and I did learn a bit about the OCO parameters.
But I still don't know how to automate "profit taking" and/or "stopping the loss" on open positions (not just on the yet to be executed orders).
--- I hope you will understand this question (bad English here...):
What happens with a
margin buy produced open
position when a parking
limit price margin sell order kicks in?
Do I automatically buy the underlaying loaned asset from "myself" [effectively the loaner] (on leverage, if possible and required), thus effectively closing my old position without a loss (except the fee and interest + possible loss from a preset price gap) while smoothly switching sides from long to short around a fixed price (or with a preset gap in-between if I am willing to take some temporal loss)?
Or do I end up with coexisting, simultaneously opened long and short positions (with neither closing automatically until I run out of the credit limit on either ends)?
Is there a way to update a simple margin trade position with stop loss and/or take profit options (without closing the active order and reopening a new order with one or more of these parameters included)?
Can't really think of anything that could possibly prevent you from closing your old order and creating a new one. It doesn't cost anything.
So yes, there is a way - you just cancel existing order and create new one.
Not all of these are significant and/or apply to me right now (and it's improbable if all of these affect you at the same time) but these come to my mind:
- exchange/trade fee
- possibly higher leverage interest rate
- possibly worst market liquidity (with a slight chance that someone starts a mini-pump/dump right there, so price gets worse)