Code Monkey home page Code Monkey logo

Comments (3)

roberto-cisternino avatar roberto-cisternino commented on July 17, 2024

In this example a BUY order has 20 data fields while a SELL order has 22 fields:

{
"page": 1,
"records": 3,
"rows": [
{
"id": "0",
"td": [
"FXSUSDT",
444990091,
-1,
"5823008e-f0a9-44a8-ba25-cfea283fba67",
"0.00000000",
"5.20000000",
"5.20000000",
"49.46140000",
"FILLED",
"GTC",
"MARKET",
"BUY",
"0.00000000",
"0.00000000",
1707247597031,
1707247597031,
true,
1707247597031,
"50.00000000",
"EXPIRE_MAKER"
]
},
{
"id": "1",
"td": [
"FXSUSDT",
444997393,
-1,
"d3f6b93f-4216-46cd-9326-2a92511df2fe",
"0.00000000",
"5.20000000",
"5.20000000",
"49.17120000",
"FILLED",
"GTC",
"MARKET",
"BUY",
"0.00000000",
"0.00000000",
1707247845104,
1707247845104,
true,
1707247845104,
"50.00000000",
"EXPIRE_MAKER"
]
},
{
"id": "2",
"td": [
"FXSUSDT",
445007680,
-1,
"and_0c5d1385394341b4963640b29e107cc9",
"9.51700000",
"10.40000000",
"0.00000000",
"0.00000000",
"NEW",
"GTC",
"TAKE_PROFIT_LIMIT",
"SELL",
"0.00000000",
20,
1707248105709,
"0.00000000",
1707248105709,
1707248193727,
true,
1707248193727,
"0.00000000",
"EXPIRE_MAKER"
]
}
]
}

from binance-connector-java.

aisling-2 avatar aisling-2 commented on July 17, 2024

@roberto-cisternino Can you specifically mention the additional fields?

from binance-connector-java.

roberto-cisternino avatar roberto-cisternino commented on July 17, 2024

Ok, let's compare the record with id=2 below (SELL), with the record with id=1 (BUY), just check the array "td":

SELL td has 22 items and starting with value 20 the record is different from the BUY record with id=1:

{
"id": "2",
"td": [
"FXSUSDT",
445007680,
-1,
"and_0c5d1385394341b4963640b29e107cc9",
"9.51700000",
"10.40000000",
"0.00000000",
"0.00000000",
"NEW",
"GTC",
"TAKE_PROFIT_LIMIT",
"SELL",
"0.00000000",
20,
1707248105709,
"0.00000000",
1707248105709,
1707248193727,
true,
1707248193727,
"0.00000000",
"EXPIRE_MAKER"
]
}

BUY td array has 20 items (two less then SELL item):

{
"id": "1",
"td": [
"FXSUSDT",
444997393,
-1,
"d3f6b93f-4216-46cd-9326-2a92511df2fe",
"0.00000000",
"5.20000000",
"5.20000000",
"49.17120000",
"FILLED",
"GTC",
"MARKET",
"BUY",
"0.00000000",
"0.00000000",
1707247845104,
1707247845104,
true,
1707247845104,
"50.00000000",
"EXPIRE_MAKER"
]
}

from binance-connector-java.

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.