Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Borrow less when possible. #19

Open
dscotese opened this issue Jun 29, 2022 · 0 comments
Open

Feature Request: Borrow less when possible. #19

dscotese opened this issue Jun 29, 2022 · 0 comments

Comments

@dscotese
Copy link
Owner

If Grid trading proceeds during down markets, the bot will use margin. If the grid trading generates enough profit, it can follow a procedure to reduce how much is being borrowed and save a little money:

  1. Are there cryptos for which we have more than one buy? If so, the lower-priced buys can be cancelled.
  2. How much USD is available? (the bot tracks this by keeping track of its own buys, though there may be better ways... future issue?)
  3. The bot could have a setting to maintain some level of available cash, and when the answer to the question above exceeds that, then some of the positions held can be settled with the extra cash. The least volatile asset seems to me to be the best target for such settlement but I'd have to guess which one that is, and that could change over time anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant