Closed maiph closed 3 years ago
Hi @maiph, thanks for the PR. Looks like a SpotBugs issue in the Travis build: https://travis-ci.com/github/gazbert/bxbot/builds/213546871
[ERROR] Low: com.gazbert.bxbot.exchanges.KrakenExchangeAdapter$KrakenAssetPairsConfig is Serializable; consider declaring a serialVersionUID [com.gazbert.bxbot.exchanges.KrakenExchangeAdapter$KrakenAssetPairsConfig] At KrakenExchangeAdapter.java:[lines 656-675] SE_NO_SERIALVERSIONID [INFO]
Happy to take a look if you've not got time.
Hopefully we can get a release out later this week :-)
I can take a look at it. Is there any way to run SpotBugs locally to check for other errors that may exist?
I can take a look at it. Is there any way to run SpotBugs locally to check for other errors that may exist?
Sure, a ./mvnw clean install
or ./gradlew build
run locally should run SpotBugs as part of the build.
You can also run the spotbugs maven profile using ./mvnw clean install -P spotbugs
Cheers.
Hi @maiph , I'm planing a release this week, be great to get your fix in. I can sort out the SpotBugs issue if you need me to :+1:
Hey @gazbert , I'll be busy the next few weeks so you can go ahead and wrap this up.
Cherrs
Merging this into master and will fix the SID issue highlighted by SpotBugs.
Added a way for the Kraken adaptor to fetch the configuration from decimal values precision and place order accordingly.
Fixes #126