Comments (11)
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.
@Mikadily please git pull and mvn compile the latest commit.
from harmonia.
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.
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.
Right; I changed the formatting to use two spaces for a tab and to extend the line length before wrapping.
from harmonia.
@Mikadily, have you seen any other crashes since the update?
from harmonia.
No crashes since last update, it's running nice and smooth. Thanks!
from harmonia.
@Mikadily still running it? have any comments/questions?
from harmonia.
@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.
@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.
@Scottiiee not sure this is the best place to comment... but few issues.
- My 512M VPS crashed with out of memory and I think your dev version caused it, but I'm not sure.
- 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harmonia.