- edited description
Use Order in wrappers
Issue #296
new
Order exists as a class but is not used in wrappers.
if (type.equals(Constant.SELL)) {
order1Response = Global.exchange.getTrade().sell(Global.options.getPair(), amount1, price);
} else {
order1Response = Global.exchange.getTrade().buy(Global.options.getPair(), amount1, price);
}
With order abstraction this could read
orderResponse = Global.exchange.getTrade().submit(Order); logorder(order);
Comments (7)
-
reporter -
reporter I would be helpful to have the order abstraction available throughout, for example to display orders, to store orders before and after submission, for testing, etc.
-
- changed milestone to 0.2.1 - Price-feed streaming service implementation
-
- changed milestone to 0.3.1 - Price-feed streaming service implementation
-
- changed milestone to 9.9 Undefined future release
-
reporter - removed responsible
-
reporter - marked as minor
- Log in to comment