MFAPI Client MFAdmin User(s)

MarketFactory can configure MFAPI Clients to have administrative rights. This includes the ability to lock and unlock other MFAPI Clients' trading privileges and logins. (Locking an MFAPI Client will cancel all its outstanding orders and force the MFAPI Client to disconnect from the MarketFactory server.) 

On the client side, the administrator MFAPI client must be of type MFAdmin. Administrative rights are intended for MFAPI clients that monitor overall API Client trading activity. Typically, administrative clients also listen to dropcopy trading messages. If an administrative client is defined, it must connect and explicitly call allowClientsToConnect()in order for other API Clients to connect, subscribe to market data and trade. The administrator must call allowClientsToConnect() every time it reconnects. This is intended to allow the administrator to do any cleaning up or catching up once it reconnects before allowing other users to connect. 

If the MFAdmin user becomes disconnected and remains disconnected for over a configurable amount of time e.g. 3min, all other MFAPI clients will also be disconnected and be prevented from connecting. If more than one administrator is defined, then at least one administrator needs to be connected for the MFAPI Clients to remain connected and trading.