Skip to content
New issue

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

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

Already on GitHub? # to your account

warning codes? #78

Open
faangbait opened this issue May 18, 2023 · 0 comments
Open

warning codes? #78

faangbait opened this issue May 18, 2023 · 0 comments

Comments

@faangbait
Copy link

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. 😫

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant