questions about order structure
See original GitHub issueRegarding the order status
, the docs say:
'status': 'open', // 'open', 'closed', 'canceled'
If an order is partially filled and then cancelled, what should the status be?
Regarding the cost
:
'cost': 0.076094524, // 'filled' * 'price' (filling price used where available)
If the filling price isn’t available, should this field be left blank? (I think it should)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What is an ordered structure, in general? - MathOverflow
An ordered structure would then be any model of a quasi-algebraic theory. The problem is that the 5th axiom is essentially incompatible with ......
Read more >first order structure and its usage - Mathematics Stack Exchange
1. A first-order structure is needed in order to interpret a first-order "signature", i.e. a f-o language, like the f-o language for arithmetic....
Read more >1 The order structure of the real numbers
We will show that the ordering and algebraic structure of the real line are uniquely given by some natural demands. The hierarchy of....
Read more >Ordered Structure - an overview | ScienceDirect Topics
In a fully ordered material, neighboring domains, in which the A and B atoms have different positions, are separated by a surface called...
Read more >Question order and student understanding of structure and ...
In our study, students answered a total of two question types. To address our research question of whether or not question order matters...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok. For what it’s worth I think leaving it blank, rather than potentially providing an inaccurate figure, is best.
status == 'canceled'
filled > 0
filled < amount
The problem is 3/4 of exchanges do not actually return the filling price or assume filling price = limit price in their engines. So, we only fill it if
filled * price
with the most accurate price available:Let us know if that doesn’t answer your questions.