[Quickfix-users] FIX::Price being rounded down?
Brought to you by:
orenmnero
From: Steven D. <ste...@ho...> - 2010-07-23 21:55:03
|
Hello, I'm trying to send in a price with a fractional penny i.e. 15.155 but it is always sent as 15.15. I tried a simple test using the example application and the result is always the same rounded down to 15.15: FIX::Price queryPrice(){ double value; std::cout << std::endl << "Price: "; std::cin >> value; return FIX::Price( value );} which then goes into newOrderSingle.set( queryPrice() ) and is pushed out. The value entered is correct when prompted as 15.155 but the FIX message leaving is always 15.15. Any help is much appreciated!! Thanks,Steven |