pub enum Code {
Show 56 variants
A,
Adj,
Al,
Ae,
Af,
Aw,
B,
Bo,
Ca,
C,
Cd,
Cp,
Cr,
Cs,
D,
Et,
Ex,
O,
G,
Hc,
Hi,
Hr,
I,
Ia,
Iv,
L,
Li,
Ln,
Lt,
M,
Ml,
Mn,
Ms,
Mi,
Mx,
P,
Pt,
Fr,
Fp,
Pi,
Pa,
Pr,
Re,
Rd,
R,
Rv,
Ri,
Si,
Sp,
So,
Ss,
St,
Sy,
T,
W,
Unknown,
}Expand description
Transaction code
Comprehensive list of IB transaction classification codes
Variants§
A
Assignment
Adj
Adjustment
Al
Allocation
Ae
Auto exercise
Af
Auto FX
Aw
Away trade
B
Buy-in
Bo
Borrow fee
Ca
Cancellation
C
Closing
Cd
Cash delivery
Cp
Complex position
Cr
Correct
Cs
Crossing
D
Dual
Et
ETF creation
Ex
Expired
O
Exercise
G
Guaranteed
Hc
Highest cost
Hi
HF investment
Hr
HF redemption
I
Internal transfer
Ia
Affiliated account transfer
Iv
Investor
L
Margin low
Li
LIFO (Last In First Out)
Ln
Loan
Lt
Long-term capital gain
M
Maximum loss
Ml
Maximum long-term capital gain
Mn
Minimum long-term capital gain
Ms
Maximum short-term capital gain
Mi
Minimum short-term capital gain
Mx
Manual exercise
P
Opening
Pt
Partial execution
Fr
Fractional risk-less principal
Fp
Fractional principal
Pi
Price improvement
Pa
Post accrual
Pr
Principal
Re
Reinvestment
Rd
Redemption
R
Reopen
Rv
Reverse
Ri
Reimbursement
Si
Solicited IB
Sp
Specific lot
So
Solicited other
Ss
Shortened settlement
St
Short-term capital gain
Sy
Stock yield
T
Transfer
W
Wash sale
Unknown
Unknown code