ExternalAccountProvider

An ExternalAccountProvider represents the authority that issued that account (for example, the registry or bank).

In addition to being the authority for Holdings, an ExternalAccountProvider is also the authority for the Instrument that the Holding represents.

For example, BHP shares are controlled by the Computershare registry and so an ExternalAccount issued by Computershare would be required to represent a holding of BHP shares in MarketGrid.

Metadata

  • Base Table Class: Static
  • Default Size: 100

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this ExternalAccountProvider.
StatusSet of Status4
ShortNameString24The short text identifier of this ExternalAccountProvider.
NameString48The long text identifier of this ExternalAccountProvider.
TaggedHoldingURLString100
TriggerPTTInteger (unsigned)1
TriggerDTInteger (unsigned)1
TriggerDTRangeInteger (unsigned)1
TriggerVRNCountInteger (unsigned)1
ActionStartDateInteger (unsigned)8The timestamp of this record.
ActionEndDateInteger (unsigned)8The timestamp of this record.
UseActionDatesInteger (unsigned)1
ScheduleSecondsPTTInteger (unsigned)4
ScheduleSecondsDTInteger (unsigned)4
ScheduleSecondsVRNCountInteger (unsigned)4
StartTimePTTInteger (signed)4Represents time as an integer in HHMMSS format.
StartTimeDTInteger (signed)4Represents time as an integer in HHMMSS format.
StartTimeVRNCountInteger (signed)4Represents time as an integer in HHMMSS format.
NextTimePTTInteger (unsigned)8The timestamp of this record.
NextTimeDTInteger (unsigned)8The timestamp of this record.
NextTimeVRNCountInteger (unsigned)8The timestamp of this record.
UseSchedulePTTInteger (unsigned)1
UseScheduleDTInteger (unsigned)1
UseScheduleVRNCountInteger (unsigned)1
VRNLowWarnLimitInteger (unsigned)4If the number of unassigned VRNs drop below this, send a warning message to NOTE. Leave unset to disable warnings.
DenyVoidTransactionInteger (unsigned)1Setting this attribute to true removes the 'Void' transaction option when dealing with an Unconfirmed HoldingTransaction for an Instrument that belongs to this ExternalAccountProvider.
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
OwnerUserForeign key to User8The Id of the User that owns this ExternalAccountProvider.
OwnerGroupForeign key to Group8The Id of the Group that owns this ExternalAccountProvider.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this ExternalAccountProvider.
CreateUserForeign key to User8The Id of the User that created this ExternalAccountProvider.
CreateTimestampInteger (unsigned)8The time at which this ExternalAccountProvider was created.
UpdateUserForeign key to User8The Id of the User that last updated this ExternalAccountProvider.
UpdateTimestampInteger (unsigned)8The time at which this ExternalAccountProvider was last updated.

Foreign Keys

The following diagram shows the tables that have a foreign key link to the ExternalAccountProvider table. All Table nodes can be clicked to take you to that table's definition page.

graph LR;
	ExternalAccount-->|ExternalAccountProvider|ExternalAccountProvider
	click ExternalAccount "/marketgrid/developer/model/tables/ExternalAccount"
	Instrument-->|ExternalAccountProvider|ExternalAccountProvider
	click Instrument "/marketgrid/developer/model/tables/Instrument"
	InstrumentMarket-->|ExternalAccountProvider|ExternalAccountProvider
	InstrumentMarket-->|ExternalSettlementAccountProvider|ExternalAccountProvider
	click InstrumentMarket "/marketgrid/developer/model/tables/InstrumentMarket"
	Market-->|DefaultExternalSettlementAccountProvider|ExternalAccountProvider
	click Market "/marketgrid/developer/model/tables/Market"
	Order-->|ExternalAccountProvider|ExternalAccountProvider
	Order-->|ExternalSettlementAccountProvider|ExternalAccountProvider
	click Order "/marketgrid/developer/model/tables/Order"
	TradeFee-->|ExternalAccountProvider|ExternalAccountProvider
	click TradeFee "/marketgrid/developer/model/tables/TradeFee"