forked from DeviaVir/zenbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor fixes for Quadriga trading API (DeviaVir#421)
* Quadriga CX Fixes * Add amount for takers fee * Minor update to backfill warning text * Fix variable shadowing error * Trades with the same timestamp are now ordered oldest to newest when r eturned from getTrades * Trade volume now returned as number and not a string, prevents NaN on volume report * Filter results on timestamp start to prevent re-reporting the same trades in the results * Sometime opts.from is undefined, and we should return all results. * Formatting * Quadriga now supports trading LTC * Fixing QCX API handling of numbers Some argument about the lack of type safety in javascript. * QCX fix incorrect error reporting * * Adding debug output to help troubleshoot any more issues * Clean up use of Number(), numbro() and String() in various API calls * Fix error with error reporting for getTrades * Clean up error handling conditions * Remove excess semicolons for consistency * Fix error with retry in getBalance * QCX - Fix look up order * Re-enabled taker order processing in buy/sell command This doesn't appear strictly necessary, but if it reduces API calls back to the platform it could result in fewer API over-limits.
- Loading branch information
Showing
1 changed file
with
51 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters