Git Product home page Git Product logo

Comments (11)

evdubs avatar evdubs commented on June 5, 2024

That's enough information. I'll need to make sure I handle the unchecked ExchangeException in the main loop. I should have a fix for this available tonight. Thanks, @Mikadily.

from harmonia.

evdubs avatar evdubs commented on June 5, 2024

@Mikadily please git pull and mvn compile the latest commit.

from harmonia.

evdubs avatar evdubs commented on June 5, 2024

Just so you know, this can happen when a previous offer is taken while Harmonia is retrieving swap book data and going through the book data to determine if the offer should be changed. This is expected to happen from time to time.

This exception previously had not been thrown, but some modifications a month ago by @ZHolmes now allow for these BitfinexTradeServiceRaw methods to throw ExchangeException.

from harmonia.

Mikadily avatar Mikadily commented on June 5, 2024

Thanks, I'll give it a go.

Although your last commit is a bit weird ;)

src/main/java/name/evdubs/harmonia/Harmonia.java | 499 +++++++++++-----------
1 file changed, 241 insertions(+), 258 deletions(-)

from harmonia.

evdubs avatar evdubs commented on June 5, 2024

Right; I changed the formatting to use two spaces for a tab and to extend the line length before wrapping.

from harmonia.

evdubs avatar evdubs commented on June 5, 2024

@Mikadily, have you seen any other crashes since the update?

from harmonia.

Mikadily avatar Mikadily commented on June 5, 2024

No crashes since last update, it's running nice and smooth. Thanks!

from harmonia.

evdubs avatar evdubs commented on June 5, 2024

@Mikadily still running it? have any comments/questions?

from harmonia.

Mikadily avatar Mikadily commented on June 5, 2024

@evdubs yes and it works well.

However when BTC swap rates spiked, I tried adopting Harmonia for the purpose. It worked, but not very well I'd say. The lending rate was rapidly changing from 0.1 to 0.6 and Harmonia was always hitting 0.1, looked like I'd have done much better manually. But maybe I was just unlucky.

So here's an idea for you, implement BTC lending as well ;)

from harmonia.

Scottiiee avatar Scottiiee commented on June 5, 2024

@Mikadily I have a working copy with BTC/LTC implemented over on my dev branch.
It still needs a little work. Check it out and let me know what you think.

from harmonia.

Mikadily avatar Mikadily commented on June 5, 2024

@Scottiiee not sure this is the best place to comment... but few issues.

  1. My 512M VPS crashed with out of memory and I think your dev version caused it, but I'm not sure.
  2. I was lending BTC and saw a scenario where was a tiny low offer and my bot matched it. This how lending book looked like - http://i.imgur.com/agvLeyJ.png and bot's offer was 0.021% - unacceptable.

from harmonia.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.