Comments (2)
@dtmrc If you are buying for a fixed price, you can use fixed out where minOutValue would be higher than your in price.
Other option I tried is to use: Liqudity.computeAmountOut which gives you market rate price.
from solana-trading-bot.
@fdundjer i finally got it figured out.. the biggest chunk of code was implementing the token price @ token currency object classes from the raydium sdk
from solana-trading-bot.
Related Issues (20)
- User interface
- More Filters HOT 6
- Wallet HOT 5
- maybe can add a some logic in burn filter? HOT 5
- private key not found HOT 1
- I already have wsol in the picture below, but I still get an error ERROR: SOL token account not found in wallet: 5wHpzo HOT 2
- After restarting the program, sell the currency that was not sold before. HOT 4
- Rug probability, frozen blacklist, top 10 holder filters HOT 6
- Introduce more about `warp`
- Not buying tokens when use sniper list HOT 4
- Filters : burning pool has no effect.
- when ONE_TOKEN_AT_A_TIME=false , sell PRICE_CHECK_DURATION is not work
- subscribeToOpenBookMarkets seems to be unable to receive new token from pump.fun HOT 10
- help, I would like to know if increasing COMPUTE_UNIT_LIMIT and COMPUTE_UNIT_PRICE can speed up the transaction progress?
- "PRIVATE_KEY is not set"
- Punycode error
- SOL instead of WSOL HOT 2
- HELIUS RPC not worked HOT 1
- Auto Sell Delay HOT 1
- ERROR: RPC_ENDPOINT is not set HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solana-trading-bot.