Comments (1)
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)
- How to extract name or id of coin? HOT 2
- couldn't recover public key from signature HOT 2
- websockets not working HOT 2
- Entire orderbook HOT 1
- lowestAsk and highestBid HOT 12
- Trade request error HOT 2
- Missing cancels while listening WS for pushCancel and pushCancels
- Error: Invalid payload (HTTP status code: 400)
- Session ID Mismatch HOT 2
- Authentication Token? HOT 2
- Accomodate error code along with error string in api
- Invalid order signature HOT 3
- POST order returns nonce: 0
- Nonce too low. Please refresh and try again.
- Invalid payload HOT 1
- Check order is sucees HOT 1
- Invalid Order Signature
- Invalid cancel Signature
- how to create a sell order by using api ?
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 idex-api-docs.