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

Auto sell #140

Open
afeiluo opened this issue Jun 21, 2024 · 0 comments
Open

Auto sell #140

afeiluo opened this issue Jun 21, 2024 · 0 comments

Comments

@afeiluo
Copy link

afeiluo commented Jun 21, 2024

In the Listeners.ts
if (config.autoSell) { const walletSubscription = await this.subscribeToWalletChanges(config); this.subscriptions.push(walletSubscription); }
I am Confused About the Auto Sell logic, I test Only When I am Transfer My SPL Token the 'wallet' callback method was called, How can it sell the SPL Token when profit or loss math the presets value not depending on the "Transfer SPL Token" event ?

@afeiluo afeiluo changed the title Auto selll Auto sell Jun 21, 2024
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