Open fotto412 opened 5 months ago
Example without withPriceOcoStop:
BitfinexOrder order = BitfinexOrderBuilder.create(pair, BitfinexOrderType.LIMIT, amount).
withPrice(price).withOrderFlag(BitfinexOrderFlag.OCO).build();
order.setPriceOcoStop(BigDecimal.valueOf(price));
client.getOrderManager().placeOrder(order);
Hi Guys, I am trying to use OCO order type but can not find price_oco_stop field in order manager. It is used in LIMIT orders. There is, however, BitfinexOrderFlag.OCO flag defined. Can you please add like withPriceOcoStop method to the order manager. Note that price_oco_stop parameter should be added to the order request.
As always thank you all for the great job. Cheers.