binance-java-api
binance-java-api copied to clipboard
fix NPE in example UserDataStreamExample
When running the UserDataStreamExample, after receiving an OrderTradeUpdateEvent, the final callback returns a null object at line 38, which then throws a NPE when trying to retrieve getOriginalQuantity().
Just added a null check for the event.