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

Switch base currency or track multiple #630

Open
dasbts opened this issue May 9, 2023 · 0 comments
Open

Switch base currency or track multiple #630

dasbts opened this issue May 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dasbts
Copy link

dasbts commented May 9, 2023

Is your proposal related to a problem?

With the current volatile fiat situation, especially now that 722 US banks are in high unpaid debt, it is becoming increasingly unstable to have USDT trading as the base. I feel like it would be nice to switch, but it is a bit of a lengthy process manually for any open position, especially if the decision is made back and forth multiple times. Even better could be to track multiple bases at once to allow catching extra volatile profitable buy/sell events.

Describe the solution you'd like

A button to switch between, for example DOGE/USDT -> DOGE/BTC, or the possibility to track both pairs at once (if it's within current API weight limits)

Describe alternatives you've considered

A button to switch between, for example DOGE/USDT -> DOGE/BTC, or the possibility to track both pairs at once (if it's within current API weight limits)

This would likely require recalculating the last buy price, but the issue would be figuring out the grids, as well as adjusting the current PnL, and reloading the GUI ticker data.

  • One alternative could be to treat all grids from the previous pair as one trade in the new pair in the way we do with the grid logic after placing manual trades,
  • Another way could be OHLCV candle data for the minute we bought, something which, for example, CCXT offers for Binance. However, this might not be the actual filled price if we don't use the low price of that candle as the basis for new calculations.
@dasbts dasbts added the enhancement New feature or request label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant