Closed yatendra closed 5 years ago
My bad. It was a limit order so payload["post_only"] was set to true and the price I was setting was the ticker ask price. So instead of making an order it was taking one and thus getting rejected as a post_only order.
I am trying to covert Kraken example in ExchangeSharpConsole to coinbasepro sandbox using following code -
GetTicker returns ticker data but the result returned by PlaceOrderAsync has status unknown. When I tried to debug, in ExchangeCoinbaseAPI.cs in OnPlaceOrderAsync I keep getting result.status as rejected.