Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force source encoding to UTF-8 #25

Open
wants to merge 126 commits into
base: master
Choose a base branch
from
Open

Conversation

mlaubre
Copy link

@mlaubre mlaubre commented Aug 19, 2019

While building and copying source files and other resources Maven takes default encoding from environment it is running in. It would be good idea to specify encoding explicitly.

joaopsilva and others added 30 commits December 6, 2017 18:11
To avoid java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Hex.encodeHexString on Android due to different versions of commons codec.
Ignore any user project files (generally starting with dot)
…nforce

Fix missing Fill or Kill in TimeInForce.
Add Json Serializers for CandlestickEvent and OrderBookEntry.
Avoid creating multiple ObjectMapper objects for deserialization.
…date

Expose the 'U' (first update), as well as the 'u' (final update) on Depth Event.
… and/or a active web socket.

- Optional `onFailure` added to `BinanceApiCallback` to allow user to opt-in to receiving failure info.
- `BinanceApiWebSocketClient` enhanced to return `Closeable`s from calls creating web sockets, so that said web sockets can be later closed, if needed.
- `BinanceApiWebSocketClient` enhanced to be `Closeable` itself, closing the internal OKHttp dispatcher.
- `BinanceApiWebSocketListener` no longer throws an exception from `onFailure`, as this was just being thrown up the stack to the `Thread.uncaughtExceptionHandler`.

With these changes I can now:
- detect failures on the web socket and choose to do something about them.
- shutdown the `BinanceApiWebSocketClient`, and potentially recreate later, without any resource leaks or references being held to my callback objects.
Allow up to 100 connections to Binance's WebSocket Client.
…mbols and to query latest price for single symbol

Signed-off-by: Sai Chaitanya Chitneedi <nomail_forme@yahoo.in>
joaopsilva and others added 30 commits August 23, 2018 11:15
Fix for enum value: ORDER_WOULD_TRIGGER_IMMEDIATELY
Use singleton OkHttpClient client and improve Web Socket stability
Support for multi-channel subscription on single websocket.
Custom dispatcher for sharedClient to allow for more parallel requests.
…rtypes

Adding new filter type values

PERCENT_PRICE, MARKET_LOT_SIZE, MAX_NUM_ICEBERG_ORDERS.
…ventBidPricePatch

Add bid price and quantity to AllMarketTickersEvent.
 Add status and executedQty to CancelOrderResponse
License metadata is useful for
http://www.mojohaus.org/license-maven-plugin/ interoperability as well
as a requirement of eventual listing in Maven Central (OSSHR) as per
https://central.sonatype.org/pages/requirements.html.
`cummulativeQuoteQty` is needed to calculate the average price, for example when using market order
…ccountPosition

Fixes binance-exchange#223 Parsing of UserDataUpdateEvents with regard to the new outboundAccountPosition events.
Add Cummulative Quote Quantity to Order DTO.
Add license to POM for license-maven-plugin compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.