I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).
If you are new here, please see some information on how to ask for support. Thank you!
-
AnonymousInactive
A further update on this from what I have found is that this error occurs only when you are trading on the bid side. If you trade on the ask side the trade executes correctly.
Thank you very much for your feedback. It is very helpful.
I was already made aware that there is some error in the matching engine, and it didn’t get caught by my tests.
I plan to fix this very soon, as it obviously is a matter of priority.
There will be a patch as soon as possible.
AnonymousInactive
Hi Alex,
I made the following change that seems to have fixed the issue:
Line 1568 in php-api.php
Changed to: if ( ‘bid’ == $maker_order->direction ) {
Thank you for the detailed explanation and for attempting to provide a fix.
Your fix is almost correct except it does not correctly calculate fees.
With your help I have identified the problem and will provide a fix that will also correctly take maker/taker fees into account.
best regards
In version 0.2.0-beta
, released just now, I have provided a major refactoring and cleanup of the matching engine. A number of bugs on the trading logic and fee calculation were fixed.
Thank you for you help.
kind regards
- You must be logged in to reply to this topic.