Skip to content

warning codes? #78

@faangbait

Description

@faangbait

Can we compile a list of the (undocumented) warning codes? Here's what I've got so far, but I'm missing a few:

type WarningCode uint16

const (
	DuplicateOrder       WarningCode = 004 // Instrmt has a pending/open order
	UnsettledFunds       WarningCode = 233 // No closing until funds settle (free riding)
	HigherMarginReq      WarningCode = 255 // Margin calls at 50% instead of 30%
	NotMarginable        WarningCode = 367 // Cash trades only
	MktOrderWhileClosed  WarningCode = 466 // Fills at open; slippage risk
	ExchangeClosed       WarningCode = 548 // Extended hours trading (i think)
	ForeignSettlementFee WarningCode = 563 // Indicates a $50 fee surcharge
)

Apologies in advance for being in the wrong language and just an enum instead of having the warningtext. 😫

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions