Skip to main content

Webull Public FIX Interface

v2.5


This document is the copyrighted work of Webull. Webull distributes this document pursuant to a subscription agreement containing confidentiality and license provisions and is solely for the benefit of its authorized licensees. This documentation may not be copied or transmitted, in whole or in part, in any form or by any means without the express written consent of Webull.

Content​

Information in this document is subject to change without notice. In the event that you are using a version of Webull products other than the most recent version, there may be discrepancies between the content of this documentation and the operation or visual presentation of your older version of the product. Webull does not warrant that this documentation is error-free.

Trademarks​

Webull is a registered trademark. All Webull company and product names are trademarks of Webull. All other company or product names mentioned herein are the trademarks or registered trademarks of their respective companies.


1. Introduction​

The Webull Public FIX Interface has been developed on the universally adopted standard FIX protocol, offering clients standardized protocol access to the Webull global trading network.

This document is designed to furnish clients with the specifications needed for integrating with Webull through the FIX protocol.

Please note that this document does not include guidance on implementing the FIX engine. It is recommended that readers have a preliminary understanding of the FIX protocol before proceeding.

2. Supported FIX Version​

This specification is developed based on FIX 4.2. Building on this, it also introduces some higher-version tags and values to support special types of orders. Customers can connect via the following FIX versions:

  • FIX.4.2

3. Standard Message Header​

FieldNameReq'dDescription
8BeginStringYValid Value: FIX.4.2
9BodyLengthYMust be the second field in message.
34MsgSeqNumY
35MsgTypeYMust be the third field in message. Please refer to the sections "Session Level Messages" and "Application Level Messages" for the MsgType<35> supported.
43PossDupFlagNAlways required for retransmitted messages, whether prompted by the sending system or as the result of a resend request.
49SenderCompIDY
50SenderSubIDNUsed for firm identification in third-party transactions. For example, if you are a broker, this field sets UUID of the broker user, when placing/modify/cancel order.
52SendingTimeYTime/date combination represented in UTC (Universal Time Coordinated, also known as "GMT") in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
56TargetCompIDY
115OnBehalfOfCompIDNTrading partner company ID used when sending messages via a third party.
122OrigSendingTimeNRequired for message resent as a result of a ResendRequest.
128DeliverToCompIDNTrading partner company ID used when sending messages via a third party.

4. Standard Message Trailer​

FieldNameReq'dDescription
10CheckSumY

5. Session Level Messages​

The following session level messages are supported:

NameMsgTypeIncomingOutgoing
LogonA✓✓
Heartbeat0✓✓
TestRequest1✓✓
ResendRequest2✓✓
Reject3✓✓
SequenceReset4✓✓
Logout5✓✓

5.1 Logon​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=A
98EncryptMethodYValid values: 0: None
108HeartBtIntYAlways set to 30s.
141ResetSeqNumFlagNAlways set to N.
553UsernameY
554PasswordY
<Standard Trailer>Y

* USERNAMES AND PASSWORDS ARE ALWAYS REQUIRED WHEN ACCESSING THE SYSTEM. THEY WILL BE SECURELY PROVIDED UPON ACTIVATION OF YOUR FIX SESSION.

5.2 Heartbeat​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=0
112TestReqIDNRequired when the heartbeat is the result of a Test Request message.
<Standard Trailer>Y

5.3 TestRequest​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=1
112TestReqIDY
<Standard Trailer>Y

5.4 ResendRequest​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=2
7BeginSeqNoY
16EndSeqNoY0 represents infinity.
<Standard Trailer>Y

5.5 Reject​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=3
45RefSeqNumYMsgSeqNum <34> of rejected message
371RefTagIDNThe tag number of the FIX field being referenced.
372RefMsgTypeNThe MsgType <35> of the FIX message being referenced.
373SessionRejectReasonNCode to identify reason for a session-level Reject <3> message.
58TextNWhere possible, message to explain reason for rejection
<Standard Trailer>Y

5.6 SequenceReset (GapFill)​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=4
123GapFillFlagYAlways sets to Y.
36NewSeqNoY
<Standard Trailer>Y

5.7 Logout​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=5
58TextNMessage to explain reason for logout
<Standard Trailer>Y

6. Application Level Messages​

NameMsgTypeIncomingOutgoing
NewOrderSingleD✓-
OrderCancelReplaceRequestG✓-
OrderCancelRequestF✓-
ExecutionReport8-✓
CancelReplaceReject9-✓
NewOrderMultilegAB✓-
MultilegOrderCancelReplaceRequestAC✓-

6.1 NewOrderSingle​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=D
1AccountYTrading account on Webull platform. Omnisub Mode: Specifies the VA account. The master account is not supported for order placement when Omnisub mode is enabled. Omnibus Mode: Specifies the master or sub-account.
11ClOrdIDYUnique identifier of the order. Must be 64 characters or less.
15CurrencyNIdentifies currency used for price. Absence of this field is interpreted as the default for the security.
38OrderQtyYNumber of shares ordered.
40OrdTypeYValid values: 1: Market, 2: Limit, 3: Stop, 4: StopLimit, 5: MarketOnClose (MOC), 7: LimitOrBetter, J: MarketIfTouched (MIT), LT: LimitIfTouched, B: LimitOnClose (LOC). See supported ordTypes in different markets. MarketOnOpen (MOO): tag40=1(Market) and tag59=2 (At the opening); LimitOnOpen (LOO): tag40=2(Limit) and tag59=2 (At the opening).
44PriceNRequired if OrdType<40> is one of: Limit(2), StopLimit(4), LimitOrBetter(7), LimitIfTouched(LT), LimitOnClose(B)
54SideYValid values: US common stock: 1: Buy, 2: Sell, 5: Sell Short. US option: 1: Buy, 2: Sell. HK/CN common stock: 1: Buy, 2: Sell.
22IDSourceNIdentifies class of the SecurityID <48> value. Required if SecurityID <48> is specified. Valid values: 1 = CUSIP, 4 = ISIN Number
48SecurityIDNThe value of the security identifier and its classification is defined by IDSource<22>.
55SymbolYCommon Stock: ticker symbol. Option: option root, a combination of underlying symbol and corp-action indicator. For example, AAPL is an option root of a standard option and AAPL1 is an option root of an adjusted option.
65SymbolSfxNRequired if a stock symbol has a suffix, such as BRK.A. Only used in US market.
58TextN
59TimeInForceYValid values: 0: Day, 1: Good-Till-Cancelled, 2: At-The-Opening. For Good-Til-Cancelled(1) orders, please note that they will still expire 90 calendar days after the order placement date, including the day the order is placed. See supported timeInForces in different market.
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
77OpenCloseNRequired if SecurityType<167> = OPT. Valid values: O: Open, C: Close
99StopPxNRequired if OrdType<40> is one of: Stop(3), StopLimit(4)
100ExDestinationNExecution destination as defined by institution when order is entered. Only applicable to U.S. stocks. Valid values: SMART: System chooses the best execution exchange smartly.
152CashOrderQtyNPopulated with the amount in cash to be purchased or sold. Only for US stock.
167SecurityTypeYValid values: CS: Common Stock, OPT: Option
207SecurityExchangeNRequired if Tag22 or Tag48 are not present. Valid values: US: US exchanges, HK: HK exchanges, CN: CN exchanges
200MaturityMonthYearNRequired if SecurityType<167> = OPT. Format: YYYYMM. e.g. 202404 is April 2024.
201PutOrCallNRequired if SecurityType<167> = OPT. Valid values: 0: PUT, 1: CALL
202StrikePriceNRequired if SecurityType<167> = OPT
205MaturityDayNRequired if SecurityType<167> = OPT. Int field representing a particular day of a month. Valid values: 1-31.
336TradingSessionIDNIdentifier for Trading Session. Only for US common stock.
Valid values:
CORE: regular trading session (9:30 a.m. - 4:00 p.m. ET, default)
ALL: all trading sessions including extended hours (4:00 a.m. - 8:00 p.m. ET)
NIGHT: night session (8:00 p.m. - 4:00 a.m. ET)
ALL_DAY: all trading sessions including overnight hours (8:00 p.m. ET - 8:00 p.m. ET the next day)

Group Block <Parties>

FieldNameReq'dDescription
453NoPartyIDsNRequired if SecurityExchange=HK
→ 448PartyIDYID of the Broker client submitting the order: BCAN Field. The BCAN Field format is: [CE Number].[BCAN]. The BCAN Field is included in orders sent to Webull but not echoed back in Execution.
→ 447PartyIdSourceYDefines the naming convention used in specifying the PartyID(448). Valid values: D: Proprietary/Custom Code
→ 452PartyRoleYRole of the specified PartyID(448). Valid values: 3: Client ID (BCAN Field)

End Group Block

FieldNameReq'dDescription
1093LotTypeNLot type for HK stocks. Valid values: 1: Odd lot
1102TriggerPriceNThe price at which the trigger should hit. Only for US common stock or options. Required if Tag40 is J or LT
1107TriggerPriceTypeNThe type of price that the trigger is compared to. Required if Tag40 is J or LT. Valid values: 1 = BEST_OFFER, 2 = LAST_TRADE, 3 = BEST_BID
9000AlgorithmNRequired to send ALGO order. Supported values: VWAP, TWAP, POV
9023TargetParticipationNTarget volume percentage. When the Tag9000 Algorithm is 'POV', then the tag9023 is required. Rules: Double (positive 1 to 99) %. For 12%
9003StartTimeNWhen the algorithm is to start executing. Format: YYYYMMDD-HH:MM:SS, UTC timestamp. Default value is session open time if not provided.
9004EndTimeNWhen the algorithm is to be done executing. Format: YYYYMMDD-HH:MM:SS, UTC timestamp. Default value is session end time if not provided.
<Standard Trailer>Y

6.2 OrderCancelReplaceRequest​

* Please note that the CN market does not support order modifications.

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=G
1AccountYTrading account on Webull platform.
11ClOrdIDYUnique identifier of replacement order as assigned by institution or by the intermediary with closest association with the investor. Note that this identifier will be used in ClOrdID field of the Cancel Reject message if the replacement request is rejected. Must be 64 characters or less.
15CurrencyNIdentifies currency used for price. Absence of this field is interpreted as the default for the security.
41OrigClOrdIDYClOrdID of the previous non rejected order (NOT the initial order of the day) when canceling or replacing an order.
38OrderQtyYOrderQty after replaced.
40OrdTypeYMust match original order. Valid values: 1: Market, 2: Limit, 3: Stop, 4: StopLimit, 5: MarketOnClose (MOC), 7: LimitOrBetter, J: MarketIfTouched (MIT), LT: LimitIfTouched, B: LimitOnClose (LOC). See supported ordTypes in different markets. MarketOnOpen (MOO): tag40=1(Market) and tag59=2(At the opening); LimitOnOpen (LOO): tag40=2(Limit) and tag59=2(At the opening).
44PriceNPrice after replaced. Required if OrdType<40> is one of: Limit(2), StopLimit(4), LimitOrBetter(7), LimitOnClose(B)
54SideYMust match original order.
22IDSourceNIdentifies class of the SecurityID <48> value. Required if SecurityID <48> is specified. Valid values: 1 = CUSIP, 4 = ISIN Number
48SecurityIDNThe value of the security identifier and its classification is defined by IDSource<22>.
55SymbolYMust match original order.
65SymbolSfxNMust match original order.
58TextN
59TimeInForceYSupport the change from DAY(0) to GTC(1). In other cases, must match original order.
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
77OpenCloseNRequired if SecurityType<167> = OPT. Valid values: O: Open, C: Close
99StopPxNStopPx after replaced. Required if OrdType<40> is one of: Stop(3), StopLimit(4)
152CashOrderQtyNPopulated with the amount in cash to be purchased or sold. Only for US stock.
167SecurityTypeYMust match original order.
207SecurityExchangeNRequired if Tag22 or Tag48 are not present. Valid values: US: US exchanges, HK: HK exchanges, CN: CN exchanges. The CN market does not support order modifications.
200MaturityMonthYearNRequired if SecurityType<167> = OPT. Format: YYYYMM.
201PutOrCallNRequired if SecurityType<167> = OPT. Valid values: 0: PUT, 1: CALL
202StrikePriceNRequired if SecurityType<167> = OPT
205MaturityDayNRequired if SecurityType<167> = OPT. Int field representing a particular day of a month. Valid values: 1-31.
336TradingSessionIDNMust match original order.
1093LotTypeNLot type for HK stocks. Valid values: 1: Odd lot
1102TriggerPriceNThe price at which the trigger should hit. Only for US common stock or options.
1107TriggerPriceTypeNThe type of price that the trigger is compared to. Valid values: 1 = BEST_OFFER, 2 = LAST_TRADE, 3 = BEST_BID
9000AlgorithmNRequired to send ALGO order. Supported values: VWAP, TWAP, POV
9023TargetParticipationNTarget volume percentage. When the Tag9000 Algorithm is 'POV', then the tag9023 is required. Rules: Double (positive 1 to 99) %. For 12%
9003StartTimeNWhen the algorithm is to start executing. Format: YYYYMMDD-HH:MM:SS, UTC timestamp. Default value is session open time if not provided.
9004EndTimeNWhen the algorithm is to be done executing. Format: YYYYMMDD-HH:MM:SS, UTC timestamp. Default value is session end time if not provided.
<Standard Trailer>Y

6.3 OrderCancelRequest​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=F
1AccountYTrading account on Webull platform.
11ClOrdIDYUnique identifier of replacement order as assigned by institution or by the intermediary with closest association with the investor. Note that this identifier will be used in ClOrdID field of the Cancel Reject message if the replacement request is rejected. Must be 64 characters or less.
15CurrencyNIdentifies currency used for price. Absence of this field is interpreted as the default for the security.
41OrigClOrdIDYClOrdID of the previous non rejected order (NOT the initial order of the day) when canceling or replacing an order.
38OrderQtyN
167SecurityTypeYMust match original order.
207SecurityExchangeNRequired if Tag22 or Tag48 are not present. Valid values: US: US exchanges, HK: HK exchanges, CN: CN exchanges
22IDSourceNIdentifies class of the SecurityID <48> value. Required if SecurityID <48> is specified. Valid values: 1 = CUSIP, 4 = ISIN Number
48SecurityIDNThe value of the security identifier and its classification is defined by IDSource<22>.
55SymbolYMust match original order.
65SymbolSfxN
54SideYMust match original order.
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
<Standard Trailer>Y

6.4 ExecutionReport​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=8
1AccountYTrading account on Webull platform.
6AvgPxY
11ClOrdIDYUnique identifier of the order.
14CumQtyYCurrently executed shares for chain of orders.
15CurrencyNIdentifies currency used for price. Absence of this field is interpreted as the default for the security.
17ExecIDYUnique identifier of execution message.
19ExecRefIDNRequired for Cancel and Correct ExecTransType <20> messages
20ExecTransTypeYIdentifies transaction type. Valid values: 0: New, 1: Cancel, 2: Correct
30LastMktN
31LastPxYPrice of this (last) fill.
32LastSharesYQuantity of shares bought/sold on this (last) fill.
37OrderIDYUnique for each chain of orders.
38OrderQtyY
39OrdStatusYDescribes the current state of a CHAIN of orders. Valid values: 0: New, 1: Partially filled, 2: Filled, 3: Done for day, 4: Canceled, 5: Replaced, 6: Pending Cancel, 7: Stopped, 8: Rejected, 9: Suspended, A: Pending New, B: Calculated, C: Expired, D: Accepted for bidding, E: Pending Replace
40OrdTypeN
41OrigClOrdIDNClOrdID <11> of the previous order (NOT the initial order of the day) as assigned by the institution, used to identify the previous order in cancel and cancel/replace requests.
44PriceNRequired if specified on the order
54SideY
55SymbolY
65SymbolSfxN
58TextN
59TimeInForceYValid values: 0: Day, 1: Good-Til-Cancelled, 2: At-The-Opening
60TransactTimeYTime the transaction represented by this ExecutionReport occurred. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
99StopPxNRequired if specified on the order
103OrdRejReasonNFor optional use with ExecType <150> ='8' (Rejected). Valid values: 0: Broker option, 1: Unknown symbol, 2: Exchange closed, 3: Order exceeds limit, 4: Too late to enter, 5: Unknown Order, 6: Duplicate Order, 7: Duplicate of a verbally communicated order, 8: Stale Order, 16: Order rejected because exceeds current price band, 99: Other reject reason.
150ExecTypeNDescribes the specific ExecutionRpt <8> (i.e. Pending Cancel) while OrdStatus <39> will always identify the current order status (i.e. Partially Filled). Valid values: 0: New, 1: Partially filled, 2: Filled, 3: Done for day, 4: Canceled, 5: Replaced, 6: Pending Cancel, 7: Stopped, 8: Rejected, 9: Suspended, A: Pending New, B: Calculated, C: Expired, D: Restated, E: Pending Replace
151LeavesQtyYAmount of shares open for further execution. If the OrdStatus <39> is Canceled, DoneForTheDay, Expired, Calculated, or Rejected (in which case the order is no longer active) then LeavesQty <151> could be 0, otherwise LeavesQty <151> = OrderQty <38> - CumQty <14>.
167SecurityTypeNValid values: CS: Common Stock, OPT: Option
200MaturityMonthYearNRequired if SecurityType<167> = OPT. Format: YYYYMM.
201PutOrCallNRequired if SecurityType<167> = OPT. Valid values: 0: PUT, 1: CALL
202StrikePriceNRequired if SecurityType<167> = OPT
205MaturityDayNRequired if SecurityType<167> = OPT. Int field representing a particular day of a month. Valid values: 1-31.
207SecurityExchangeNValid values: US: US exchanges, HK: HK exchanges, CN: CN exchanges
<Standard Trailer>Y

6.5 CancelReplaceReject​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=9
1AccountYTrading account on Webull platform.
11ClOrdIDYUnique identifier of the order.
37OrderIDYUnique for each chain of orders.
41OrigClOrdIDYClOrdID <11> of the previous order (NOT the initial order of the day) as assigned by the institution, used to identify the previous order in cancel and cancel/replace requests.
39OrdStatusYDescribes the current state of a CHAIN of orders.
58TextN
434CxlRejResponseToYValid values: 1: Order Cancel Request, 2: Order Cancel/Replace Request
102CxlRejReasonNValid values: 0: Too late to cancel, 1: Unknown order, 2: Broker / Exchange Option, 3: Order already in Pending Cancel or Pending Replace status, 99: Other
<Standard Trailer>Y

6.6 NewOrderMultileg​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=AB
1AccountYTrading account on Webull platform. Omnisub Mode: Specifies the VA account. The master account is not supported for order placement when Omnisub mode is enabled. Omnibus Mode: Specifies the master or sub-account.
11ClOrdIDYUnique identifier of the order. Must be 64 characters or less.
38OrderQtyYOrder quantity. For options, represents the number of contracts.
40OrdTypeYValid values: 1: Market, 2: Limit, 3: Stop, 4: StopLimit. See supported ordTypes in different markets.
44PriceNRequired if OrdType<40> is one of: Limit(2), StopLimit(4)
54SideYSide of order. Valid values: 1: Buy, 2: Sell
55SymbolYUnderlying Symbol
58TextN
59TimeInForceYValid values: 0: Day, 1: Good-Till-Cancelled. For Good-Til-Cancelled(1) orders, please note that they will still expire 90 calendar days after the order placement date, including the day the order is placed. See supported timeInForces in different market.
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
65SymbolSfxN
77OpenCloseNValid values: O: Open, C: Close
99StopPxNRequired if OrdType<40> is one of: Stop(3), StopLimit(4)
100ExDestinationNExecution destination as defined by institution when order is entered. Only applicable to U.S. stocks. Valid values: SMART: System chooses the best execution exchange smartly.
167SecurityTypeYIndicates type of security. Valid value: MLEG
207SecurityExchangeYValid values: US: US exchanges

Component Block <NoLegs>

FieldNameReq'dDescription
555NoLegsYNumber of <InstrumentLeg> repeating group instances.
→ 654LegRefIDYUnique indicator for a specific leg.
→ 600LegSymbolYMultileg instrument's individual security's Symbol.
→ 601LegSymbolSfxNMultileg instrument's individual security's SymbolSfx.
→ 608LegCFICodeYMultileg instrument's individual security's CFICode. Valid values: OC = Option — Call, OP = Option — Put, ES = Equity Common Shares
→ 610LegMaturityMonthYearNExpiration month and year of the individual leg. Required when LegCFICode <608> is OC or OP. Format: YYYYMM.
→ 611LegMaturityDateNExpiration date of the individual leg. Required when LegCFICode <608> is OC or OP. Format: YYYYMMDD.
→ 612LegStrikePriceNStrike price of the individual leg. Required when LegCFICode <608> is OC or OP.
→ 623LegRatioQtyYRatio quantity of the individual leg relative to the other legs in the strategy.
→ 624LegSideYSide of the individual leg. Valid values: 1: Buy, 2: Sell, 5: Sell Short (valid only if LegCFICode <608> = ES)
→ 564LegPositionEffectNPosition effect for the individual leg. Required when LegCFICode <608> is OC or OP. Valid values: O = Open, C = Close.

End Component Block

FieldNameReq'dDescription
<Standard Trailer>Y

6.7 MultilegOrderCancelReplaceRequest​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=AC
1AccountYTrading account on Webull platform.
11ClOrdIDYUnique identifier of the order. Must be 64 characters or less.
38OrderQtyYOrder quantity. For options, represents the number of contracts.
40OrdTypeYValid values: 1: Market, 2: Limit, 3: Stop, 4: StopLimit. See supported ordTypes in different markets.
41OrigClOrdIDYClOrdID of the previous non rejected order (NOT the initial order of the day) when canceling or replacing an order.
44PriceNRequired if OrdType<40> is one of: Limit(2), StopLimit(4)
54SideYSame as original order.
55SymbolYSame as original order.
58TextN
59TimeInForceYValid values: 0: Day, 1: Good-Till-Cancelled. For Good-Til-Cancelled(1) orders, please note that they will still expire 90 calendar days after the order placement date, including the day the order is placed. Only modifying TimeInForce from 0 (Day) to 1 (GTC) is permitted on replace.
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
65SymbolSfxN
77OpenCloseNValid values: O: Open, C: Close
99StopPxNRequired if OrdType<40> is one of: Stop(3), StopLimit(4)
100ExDestinationNExecution destination as defined by institution when order is entered. Valid values: SMART: System chooses the best execution exchange smartly.
167SecurityTypeYIndicates type of security. Valid value: MLEG
207SecurityExchangeYValid values: US: US exchanges

Component Block <NoLegs>

FieldNameReq'dDescription
555NoLegsYNumber of <InstrumentLeg> repeating group instances.
→ 654LegRefIDYUnique indicator for a specific leg.
→ 600LegSymbolYMultileg instrument's individual security's Symbol.
→ 601LegSymbolSfxNMultileg instrument's individual security's SymbolSfx.
→ 608LegCFICodeYMultileg instrument's individual security's CFICode. Valid values: OC: Option — Call, OP: Option — Put, ES: Equity Common Shares
→ 610LegMaturityMonthYearNExpiration month and year of the individual leg. Required when LegCFICode <608> is OC or OP. Format: YYYYMM.
→ 611LegMaturityDateNExpiration date of the individual leg. Required when LegCFICode <608> is OC or OP. Format: YYYYMMDD.
→ 612LegStrikePriceNStrike price of the individual leg. Required when LegCFICode <608> is OC or OP.
→ 623LegRatioQtyYRatio quantity of the individual leg relative to the other legs in the strategy. Only integer values allowed.
→ 624LegSideYSide of the individual leg. Valid values: 1: Buy, 2: Sell, 5: Sell Short (valid only if LegCFICode <608> = ES)
→ 564LegPositionEffectNPosition effect for the individual leg. Required when LegCFICode <608> is OC or OP. Valid values: O = Open, C = Close.

End Component Block

FieldNameReq'dDescription
<Standard Trailer>Y

6.8 MultilegOrderCancelRequest​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=F
1AccountYTrading account on Webull platform.
11ClOrdIDYUnique identifier of the order. Must be 64 characters or less.
38OrderQtyYOrder quantity. For options, represents the number of contracts.
41OrigClOrdIDYClOrdID of the previous non rejected order (NOT the initial order of the day) when canceling or replacing an order.
54SideYSame as original order.
55SymbolYSame as original order.
58TextN
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
167SecurityTypeYIndicates type of security. Valid value: MLEG
207SecurityExchangeNValid values: US: US exchanges
<Standard Trailer>Y

6.9 MultilegExecutionReport​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=8
1AccountYTrading account on Webull platform.
6AvgPxYCalculated average price of all fills on this order.
11ClOrdIDYUnique identifier of the order.
14CumQtyYCurrently executed shares for chain of orders.
17ExecIDYUnique identifier of execution message.
19ExecRefIDNRequired for Cancel and Correct ExecTransType <20> messages
20ExecTransTypeYIdentifies transaction type. Valid values: 0: New, 1: Cancel, 2: Correct
30LastMktNMarket of execution for last fill
31LastPxYPrice of this (last) fill.
32LastSharesYQuantity of shares bought/sold on this (last) fill.
37OrderIDYUnique for each chain of orders.
38OrderQtyYNumber of Contracts/shares
39OrdStatusYDescribes the current state of a CHAIN of orders. Valid values: 0: New, 1: Partially filled, 2: Filled, 3: Done for day, 4: Canceled, 5: Replaced, 6: Pending Cancel, 7: Stopped, 8: Rejected, 9: Suspended, A: Pending New, B: Calculated, C: Expired, D: Accepted for bidding, E: Pending Replace
40OrdTypeN
41OrigClOrdIDNClOrdID <11> of the previous order (NOT the initial order of the day) as assigned by the institution, used to identify the previous order in cancel and cancel/replace requests.
44PriceNRequired if specified on the order
54SideY
55SymbolY
58TextN
59TimeInForceYValid values: 0: Day, 1: Good-Til-Cancelled, 2: At-The-Opening
60TransactTimeYTime the transaction represented by this ExecutionReport occurred. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
65SymbolSfxN
77OpenCloseNValid values: O: Open, C: Close
99StopPxNRequired if specified on the order
100ExDestinationNExecution destination as defined by institution when order is entered. Valid values: SMART: System chooses the best execution exchange smartly.
150ExecTypeNDescribes the specific ExecutionRpt <8> (i.e. Pending Cancel) while OrdStatus <39> will always identify the current order status (i.e. Partially Filled). Valid values: 0: New, 1: Partially filled, 2: Filled, 3: Done for day, 4: Canceled, 5: Replaced, 6: Pending Cancel, 7: Stopped, 8: Rejected, 9: Suspended, A: Pending New, B: Calculated, C: Expired, D: Restated, E: Pending Replace
151LeavesQtyYAmount of shares open for further execution. If the OrdStatus <39> is Canceled, DoneForTheDay, Expired, Calculated, or Rejected (in which case the order is no longer active) then LeavesQty <151> could be 0, otherwise LeavesQty <151> = OrderQty <38> - CumQty <14>.
167SecurityTypeNIndicates type of security. Valid value: MLEG
200MaturityMonthYearNSame as original order.
201PutOrCallNSame as original order.
202StrikePriceNSame as original order.
205MaturityDayNSame as original order.
207SecurityExchangeYSame as original order.
442MultiLegReportingTypeYUsed to indicate what an Execution Report <8> represents (e.g. used with multi-leg securities, such as option strategies, spreads, etc.). Valid values: 2: Individual leg of a multi-leg security, 3: Multi-leg security
541MaturityDateNDate of maturity. Format: YYYYMMDD
654LegRefIDNUnique indicator for a specific leg.
<Standard Trailer>Y

6.10 MultilegOrderCancelReplaceReject​

FieldNameReq'dDescription
<Standard Header>YMsgType<35>=9
1AccountYTrading account on Webull platform.
11ClOrdIDYUnique identifier of the order.
37OrderIDYUnique for each chain of orders.
39OrdStatusYDescribes the current state of a CHAIN of orders.
41OrigClOrdIDYClOrdID <11> of the previous order (NOT the initial order of the day) as assigned by the institution, used to identify the previous order in cancel and cancel/replace requests.
58TextN
60TransactTimeYTime this order request was initiated/released by the trader or trading system. Time/date combination represented in UTC in either YYYYMMDD-HH:MM:SS (whole seconds) or YYYYMMDD-HH:MM:SS.sss (milliseconds) format, colons, dash, and period required.
102CxlRejReasonNValid values: 0: Too late to cancel, 1: Unknown order, 2: Broker / Exchange Option, 3: Order already in Pending Cancel or Pending Replace status, 99: Other
434CxlRejResponseToYValid values: 1: Order Cancel Request, 2: Order Cancel/Replace Request
<Standard Trailer>Y

7. Appendix​

7.1 Supported Order Types in Different Markets​

US Market:

OrderType / SecurityTypeCommonStockOption(SingleLeg)Option(MultiLeg)
Market(1)✓✓✓
Limit(2)✓✓✓
Stop(3)✓✓✓
StopLimit(4)✓✓✓
MarketOnClose(5)✓
MarketIfTouched(J)✓✓
LimitIfTouched(LT)✓✓
LimitOnClose(B)✓
MarketOnOpen✓
LimitOnOpen✓
Algorithm

HK Market:

SecurityTypeAUOALOELOOdd Lot
CommonStock✓✓✓✓

* See how these order types are mapped in the FIX protocol in Appendix 7.3.

CN Market:

SecurityTypeLimit
CommonStock✓

7.2 Supported TimeInForce in Different Markets​

MarketSecurityTypeDay (0)Good-Till-Cancel (1)At-The-Opening (2)
USCommon Stock✓✓✓
USOption(SingleLeg)✓✓
USOption(MultiLeg)✓✓
HKCommon Stock✓✓
CNCommon Stock✓

7.3 HK OrderType Mapping​

TypeOrdType <40>TimeInForce <59>
AUOMarket(1)At-The-Opening(2)
ALOLimit(2)At-The-Opening(2)
ELOLimitOrBetter(7)Day(0)

8. Revision History​

Revision No.DateDescription of Changes
V1.1May, 2024Initial Document
v1.2July, 2024Add Tag115
v1.3Sep, 2024Add new order types, such as MARKET_IF_TOUCHED(J), LIMIT_IF_TOUCHED(LT)
v1.4Feb, 2025Fix Tag167 description
v1.5Feb, 2025Add Tag50
v1.6Mar, 2025Add Parties Group
v1.7Apr, 2025Add Tag100
v1.8Apr, 2025Add Tag152. U.S. stock fractional order by amount.
v1.9Jun, 2025Add algorithmic orders with tags related to US stocks. Tag 9000, Tag 9023, Tag 9315, Tag 9003, Tag 9004
v2.0Jul, 2025Support JP Stock. Add new order types: LOO, LOC. Remove Tag9315 for algorithmic orders.
v2.1Aug, 2025TradingSessionID support PRE_CORE
v2.2Dec, 2025Remove fix password salt
v2.3Jun, 2026Add Multileg order messages for US options strategy trading
v2.4Jul, 2026Add Tag15. Identifies currency used for price. Absence of this field is interpreted as the default for the security. Tag 207 (SecurityExchange): Removed enum value JP.
v2.5Sep, 2026TradingSessionID removes support for PRE_CORE