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

Corrected engine.js to include held assets in calculations for buy_max_amt and buy_pct #1111

Closed
wants to merge 3 commits into from

Conversation

T-rav
Copy link
Contributor

@T-rav T-rav commented Jan 12, 2018

This will stop the behavior described in this issue #878
and fix it for when the bot is running in standard mode too.

It is not perfect because it uses the current quote price in calculation, thus large price fluctuations can impact its correctness.

@T-rav T-rav changed the title Master Corrected engine.js to include held assets in calculations for buy_max_amt and buy_pct Jan 12, 2018
@DeviaVir DeviaVir changed the base branch from master to unstable January 12, 2018 11:55
@T-rav
Copy link
Contributor Author

T-rav commented Jan 12, 2018

Going to close this pull request. I have merged my changed into the unstable branch and will redo the pull request from unstable to unstable branches. This should fix the merge conflicts in package-lock.json

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.

1 participant