Giter Club home page Giter Club logo

Comments (1)

bikerduweb avatar bikerduweb commented on August 16, 2024

As an exemple here is what API returns for one of my trade on pair ETH_OWN
{"date"=>"2018-08-07 03:46:47", "amount"=>"250000", "type"=>"buy", "total"=>"0.2025", "price"=>"0.00000081", "orderHash"=>"0x0aa2bc7c2277c51e4c78b6becc6fd82547261f06eaa3a990867b2a0ea7bdeaef", "uuid"=>"82513470-99f4-11e8-bbe8-6d8f1f4c08e7", "buyerFee"=>"500", "sellerFee"=>"0.0002025", "gasFee"=>"2098.76543209876525", "timestamp"=>1533613607, "maker"=>"0x93d92fc160318c65efba60c48815b631862693ec", "taker"=>"0x93af941a7dcafba72204a37f60a98bfb0bbb5107", "transactionHash"=>"0x980a25e8e17ef7219e5c8238546e964bbffbd2c9970ec6500dd340b38efe10d5", "usdValue"=>"141.75"}

In the web interface, this is a sell order, which is right ... But through the API, the type is "buy" which is wrong ... I didn't buy but sold OWN tokens.

What is expected is that when my trade is me selling, the type should be filled with "sell" value like in all other exchange api ... Because otherwise, how can I differentiate beetween my buy and my sell orders ?

PS: i've seen that a similar issue was closed because of lack of information... I hope that thoses comments provides more information.

from idex-api-docs.

Related Issues (20)

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.