Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Resize order on reorder #1406

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Conversation

defkev
Copy link
Contributor

@defkev defkev commented Feb 22, 2018

Instead of reordering using the same size (which doesn't make sense) calculate the (remaining) size (in percent) of the order and use it as buy|sell_pct

This should fix a fair ammount of "insufficient funds" errors people have been reporting.

e.g. #1223 #1315 & #1392 and possible even one of thus older ones including #699 #820 #876 #900 & #910

Instead of reordering using the same size (which doesn't make sense) calculate the (remaining) size (in percent) of the order and use it as `buy|sell_pct`

This should fix a fair ammount of "insufficient funds" errors people have been reporting.
@DeviaVir DeviaVir merged commit bbacc1f into DeviaVir:unstable Feb 22, 2018
@defkev defkev deleted the pr-resize-on-reorder branch February 26, 2018 17:39
@DeviaVir DeviaVir mentioned this pull request Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants