func (e *TradingEngine) RegisterOperator(config *OperatorConfig) error {
	op, err := NewOperator(config)
	if err != nil {
		return err
	}

	e.operator = op
	return nil
}
// RegisterOperator registers a new operator on the engine. The operator is the account
// that sends the blockchain transaction associated to an order/trade to the exchange
// smart contract
RegisterOperator registers a new operator on the engine. The operator is the account
that sends the blockchain transaction associated to an order/trade to the exchange
smart contract
// RegisterOperator registers a new operator on the engine . The operator is the account // that sends the blockchain transaction associated to an order / trade to the exchange // smart contract
func (e *TradingEngine) RegisterOperator(config *OperatorConfig) error {
	op, err := NewOperator(config)
	if err != nil {
		return err
	}
	e.operator = op
	return nil
}
func ( e * TradingEngine ) RegisterOperator ( config * OperatorConfig ) error { op , err := NewOperator ( config ) if err != nil { return err } e . operator = op return nil }
RegisterOperator registers a new operator on the engine.
RegisterOperator registers a new operator on the engine .