Absolute exit spread #323

Closed
lilianchiassai wants to merge 2 commits from effective-price-absolute-exit-spread into effective-prices
lilianchiassai commented 2021-02-03 06:12:14 -08:00 (Migrated from github.com)

Replace a relative exitTarget by an absolute exitSpread. The exitSpread is matched against an effective spread (including fees and slip), so both slip and fees are taken into account before closing the trade.

Replace a relative exitTarget by an absolute exitSpread. The exitSpread is matched against an effective spread (including fees and slip), so both slip and fees are taken into account before closing the trade.
dazito (Migrated from github.com) reviewed 2021-02-03 11:55:00 -08:00
@ -62,1 +62,4 @@
# Fees are added to this amount.
# Increasing this value will make trades easier to exit. The minimum profit percentage is entrySpread-exitSpread.
exitSpread: 0.0018
dazito (Migrated from github.com) commented 2021-02-03 11:54:59 -08:00

I guess you mean close our positions instead of open our positions?

I guess you mean `close our positions` instead of `open our positions`?
scionaltera (Migrated from github.com) reviewed 2021-02-16 12:58:43 -08:00
@ -62,1 +62,4 @@
# Fees are added to this amount.
# Increasing this value will make trades easier to exit. The minimum profit percentage is entrySpread-exitSpread.
exitSpread: 0.0018
scionaltera (Migrated from github.com) commented 2021-02-16 12:58:43 -08:00

Once this comment is fixed I think we can merge. Since it's a breaking change I'm contemplating a version bump to v0.12.0 in this PR as well though. I can fix the milestones to match.

Once this comment is fixed I think we can merge. Since it's a breaking change I'm contemplating a version bump to v0.12.0 in this PR as well though. I can fix the milestones to match.
lilianchiassai (Migrated from github.com) reviewed 2021-02-17 17:39:06 -08:00
@ -62,1 +62,4 @@
# Fees are added to this amount.
# Increasing this value will make trades easier to exit. The minimum profit percentage is entrySpread-exitSpread.
exitSpread: 0.0018
lilianchiassai (Migrated from github.com) commented 2021-02-17 17:39:06 -08:00

I don't think it is worth to merge this breaking change, knowing that we want to go toward a dynamic entry target and a minimum profit. let me know what you think

I don't think it is worth to merge this breaking change, knowing that we want to go toward a dynamic entry target and a minimum profit. let me know what you think
scionaltera (Migrated from github.com) reviewed 2021-02-17 19:42:41 -08:00
@ -62,1 +62,4 @@
# Fees are added to this amount.
# Increasing this value will make trades easier to exit. The minimum profit percentage is entrySpread-exitSpread.
exitSpread: 0.0018
scionaltera (Migrated from github.com) commented 2021-02-17 19:42:41 -08:00

That sounds fine to me. The settings work as they are even if they’re a bit confusing, and I would like to eliminate them altogether relatively soon. I’ll go ahead and close the PR.

That sounds fine to me. The settings work as they are even if they’re a bit confusing, and I would like to eliminate them altogether relatively soon. I’ll go ahead and close the PR.
Commenting is not possible because the repository is archived.
No description provided.