hodgerpodger / staketaxcsv

python repo to create blockchain CSVs
MIT License
252 stars 119 forks source link

[Request] Add support for Jupiter limit orders #328

Closed giles-t closed 10 months ago

giles-t commented 11 months ago

Hello!

Support for Jupiter DCA's is amazing. Extension of this to support limit orders would be incredible.

Thanks!

hodgerpodger commented 11 months ago

Any chance anybody can provide the program ID for Jupiter limit orders or any example transaction?

giles-t commented 11 months ago

Looks like this is the program ID jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu / https://solscan.io/account/jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu

From here: https://station.jup.ag/docs/additional-topics/links-and-contract-addresses

hodgerpodger commented 10 months ago

Fixed and deployed today with https://github.com/hodgerpodger/staketaxcsv/commit/fa8da78f823d3c7802ba1b56a87abc13f04938aa

giles-t commented 8 months ago

Sorry to reopen but after giving this a go limit transactions are still being reported as unknown. I tried to dig in a little and it seems they are being labeled properly in handle_jupiter_limit.py but not grouped correctly as trades.