We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be4b97e commit 28ee4d3Copy full SHA for 28ee4d3
packages/agent/src/swarm/investmentManager/plugins/degen-trader/services/sellService.ts
@@ -80,7 +80,7 @@ export class SellService {
80
`https://quote-api.jup.ag/v6/quote?inputMint=${
81
signal.tokenAddress
82
}&outputMint=So11111111111111111111111111111111111111112&amount=${
83
- Math.round(signal.amount * 1e9)
+ Math.round(signal.amount * 1e9) // amount has to be lamports
84
}&slippageBps=0`
85
);
86
@@ -96,6 +96,8 @@ export class SellService {
96
}
97
98
// background, no await needed
99
+
100
+ // execute sell
101
this.executeSell(signal).then(result => {
102
console.log('executeSell - result', result)
103
})
0 commit comments