alpaca-java icon indicating copy to clipboard operation
alpaca-java copied to clipboard

TradeUpdateMessage (trade_upates) misses few fields

Open selivonchik opened this issue 3 years ago • 2 comments

According to Alpaca docs (https://alpaca.markets/docs/broker/api-references/events/#response-2) Trade Update events contains few more fields that are currently missed in TradeUpdateMessage: image To simplify events correlation exposing at least "account_id" and "event_id" might be very useful. Thanks.

selivonchik avatar Jan 18 '22 20:01 selivonchik

Those fields are sent on the websocket stream for the Broker API, which isn't currently supported by this library at the moment (only single-user endpoints that use API keys are supported by this library). I'll look into supporting the Broker API at some point in the future.

Petersoj avatar Jan 31 '22 01:01 Petersoj

Thank you

selivonchik avatar Feb 04 '22 20:02 selivonchik

Broker API is now implemented in 10.0.0.

Petersoj avatar Mar 08 '24 19:03 Petersoj