mcintyre94 / Jupalyse

A tool to view and download Jupiter DCA data
https://jupalyse.vercel.app
MIT License
9 stars 5 forks source link

Added USD values #9

Open shubhiscoding opened 2 weeks ago

shubhiscoding commented 2 weeks ago

Used this conigecko API mentioned in the issue #7 https://api.geckoterminal.com/api/v2/simple/networks/solana/token_price/${address} Note: the usd values are the values based on the current price not the price based on the date of trade Screenshot from 2024-11-04 00-08-36

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jupalyse ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 3, 2024 6:50pm
mcintyre94 commented 2 weeks ago

Hey, thanks for taking a look at this! I think the value here is definitely from a historic price perspective, that's the value that is interesting from a tax POV. It is also interesting to see how these trades worked out in dollar terms over time, but at least for now that's a different product from Jupalyse.

If you'd be interested in seeing how to get historical prices then that'd be awesome, but no pressure! Let me know if you'd lik to keep working on this :)

shubhiscoding commented 2 weeks ago

Hey, thanks for taking a look at this! I think the value here is definitely from a historic price perspective, that's the value that is interesting from a tax POV. It is also interesting to see how these trades worked out in dollar terms over time, but at least for now that's a different product from Jupalyse.

If you'd be interested in seeing how to get historical prices then that'd be awesome, but no pressure! Let me know if you'd lik to keep working on this :)

Yeah that makes sense! I'll try to get historic price instead!

shubhiscoding commented 1 week ago

Hey @mcintyre94! turns out geckoterminal api has no endpoint for historic price data, I'm looking for any other free options, If you find something do tell