<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Multi-Agent Based Ethical Asset Management</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Nicolas Cointe</string-name>
          <email>nicolas.cointe@emse.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Grégory Bonnet</string-name>
          <email>gregory.bonnet@unicaen.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olivier Boissier</string-name>
          <email>olivier.boissier@emse.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institut Henri Fayol</institution>
          ,
          <addr-line>EMSE, LabHC, UMR CNRS 5516, F-42000, Saint-</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Normandie Univ</institution>
          ,
          <addr-line>UNICAEN, ENSICAEN, CNRS, GREYC, 14000 Caen</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>The increasing number of ethical investment funds shows how the need of ethics in asset management is growing up. In the same time, in some markets, autonomous agents are managing a larger number of financial transactions than human do. If many philosophers and economists discuss the fairness of different approaches for responsible investment, there is no strong proposition today about the implementation of autonomous agents able to take into account ethical notions in their financial decisions. This article proposes an approach to represent morals and ethics in a BDI architecture and illustrates its use in the context of ethical asset management. An analysis of a first experimentation on a simulated market is given.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>The increasing use of IT technologies in today financial markets is
no more limited to the use of communication and automatic
matching mechanisms but is invading also the decision layer where
autonomous algorithms make decisions. In this paper, we are interested
in asset management domain where such a transformation in the
trading of assets generates several practical and ethical issues4. The
objective and contribution of this article is use a BDI approach to embed
autonomous trading agents’ decisions with ethical considerations,
regardless the speed or efficiency of the trading strategy.</p>
      <p>
        Some people consider the use of automatic management decision
as the origin of several bad effects such as market manipulations,
unfair competition towards small investors and flash crashes by
cascading effects. Others argue that it reduces volatility, increases
transparency and stability with a lower execution cost [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. As shown by
some reports [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], ethical investment funds are even more growing
and taking a significant position on the market. However, werehas the
performance of such funds can be measured objectively, their
‘èthical” quality is more difficult to determine as it determines at least in
part on the values of the observer.
      </p>
      <p>
        Decisions by autonomous agents to whom human users delegate
the power to sell/buy assets have consequences in real life [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and
as some investment funds are interested to make socially responsible
and ethical trading, we are interested in the definition of mechanisms
for making financial agents able to follow ethical principles, moral
values and moral rules. In order to achieve this objective, we use a
model of ethical judgment process proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] mapped into a
BDI agent model. Such agents can decide to trade assets based on
the moral and ethical preferences or values of their stakeholders.
      </p>
      <p>
        The contributions of this article are the following: mapping of an
ethical judgment process in a BDI architecture and instantiating the
components of this model to the asset management domain. The
paper is organized as follows. In Section 2, we introduce the asset
management domain and present what are ethical considerations in such
a domain. In Section 3, we present a BDI agent architecture in which
the ethical judgment process presented in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is embedded. Thus an
autonomous agent can decide on actions to execute based both on
ethical principles and preferences and on moral values and rules.
This BDI agent architecture is instantiated to the asset management
domain. Finally, in Section 5, we offer an agent-based simulation to
analyse the system’s behavior.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>ETHICS &amp; ASSET MANAGEMENT</title>
      <p>In this section we motivate and identify the needs of introducing
ethical dimensions in the autonomous decision making supporting asset
management. Firstly, we briefly present what is morals and ethics,
then we present asset management domain. Then, we present the
main concepts to understand ethics in such a domain.
2.1</p>
    </sec>
    <sec id="sec-3">
      <title>Morals and ethics</title>
      <p>
        Morals consists in a set of moral rules which describes the
compliance of a given behavior with mores, values and usages of a group
or a single person. These rules associate a good or bad value to some
combinations of actions and contexts. They could be specific or
universal, i.e. related or not to a period, a place, a community, etc. This
kind of rules grounds our ability to distinguish between good and
evil. Morals can be distinguished from law and legal systems in the
sense that there is not explicit penalties, officials and written rules
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Moral rules are often supported and justified by some moral
values (e.g. transparency, responsibility, ecology). Psychologists,
sociologists and anthropologists almost agree that moral values are
central in the evaluation of actions, people and events [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        A set of moral rules and moral values establishes a theory of the
good which allows humans to assess the goodness or badness of a
behavior and theories of the right which define some criteria to
recognize a fair or, at least, acceptable option. Indeed, humans commonly
accept many situations where it is right and fair to satisfy needs or
desires, even if it is not acceptable from a set of moral rules and
values. Those theories are also respectively named theory of values and
theories of right conduct [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
      </p>
      <p>
        Relying on some philosophers as Paul Ricoeur [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], we admit that
ethics is a normative practical philosophical discipline of how
humans should act and be toward the others. Ethics uses ethical
principles to conciliate morals, desires and capacities of the agent.
Philosophers proposed various ethical principles, such as Kant’s Categorical
Imperative [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] or Thomas Aquinas’ Doctrine of Double Effect [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ],
which are sets of rules that allow to distinguish an ethical option from
a set of possible options.
      </p>
      <p>
        Indeed, the core of ethics is the judgment. It is the final step to
make a decision and it evaluates each choice, with respect to the
agent’s desires, morals, abilities and ethical principles. Relying on
some consensual references [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and previous work [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], judgment is
the faculty of distinguishing the most satisfying option in a situation,
regarding a set of ethical principles, for ourselves or someone else.
Finally, if an agent is facing two possible choices with both good
and/or bad effect, the ethical judgment allows him to make a
decision in conformity with a set of ethical principles and preferences.
2.2
      </p>
    </sec>
    <sec id="sec-4">
      <title>Asset management</title>
      <p>The asset management is the art of selecting financial assets (e.g.
equities, bonds, currencies, merchandises and so on) to be bought
and be sold in order to manage a capital, respecting regulatory and
contractual constraints, and applying an investment policy defined
by the owner of the managed portfolio (a set of assets) in order to
optimize his profit, considering a chosen level of risk.</p>
      <p>The assets are commonly exchanged on a marketplace, i.e. a
system designed to match bid and ask orders at the best price and the
best frequency. Different types of matching methods are available, as
auctions or order books, and those methods accept different types of
orders, as cancellable or dynamic orders. Marketplaces are actually
more than simple interfaces for buyers and sellers because they also
provide a variety of functionalities:
1. to finance companies and institutions by the emission of bonds,
warrants or equities;
2. to increase liquidity of the exchanges, i.e. minimizing the impact
of a bid or ask order on the price;
3. to indicate the value of the assets in real time;
4. to increase the control and monitoring on the economy, by
contributing to the transparency with the publication of detailed
balance sheets and number of analyses.</p>
      <p>Each asset manager composes the orders to put on the marketplace
with a set of options as a possibility of cancellation, the duration of its
validity, a limit price, an investment strategy and so on. To decide the
best order to perform, the asset manager needs to be well informed
on the state of the market, through raw data and various indicators.
2.3</p>
    </sec>
    <sec id="sec-5">
      <title>Ethical dimensions of asset management</title>
      <p>Ethical asset management, also called responsible investment or
social investment, considers new information in the management
decision process, as sectors, labels or any indicators on the impact of
these assets and their underlying on the society. Thus, the morals of
an agent (combination of moral values and rules) may be defined
by an asset policy (e.g. trading nuclear-free assets or never trading
in the defense sector). Moreover, the manner to trade is important
too. In the last decade, the introduction of autonomous agents on the
marketplaces comes with new harmful practices (e.g. layering, quote
stuffing, spoofing). Therefore, the morals of an agent may also rely
on transparency, honesty or avoidance of any manipulation of the
market. Such policies are not about assets, but about the morality of
agents’s behaviors on the market.</p>
      <p>
        For instance, an ethical asset manager in Islamic finance may
both agree on the fact to “exclude stocks of companies that
produce/distribute prohibited goods/services regarding the Shari’ah” [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
and the fact to “prefer to deal with other Islamic agents”. The first
fact is part of an asset policy and the second one is part of a
market policy. Those policies can be viewed as a set of moral rules. As
moral rules cannot be satisfied in all contexts, ethical asset managers
use ethical principles to make their decisions. By instance “Always
execute the most profitable action which violate as few as possible
rules” is an example of ethical principle for an ethical asset manager.
      </p>
      <p>Finally, an asset manager needs to be able to judge that the asset
exchanged and the modalities of the transaction are both compliant
with his morals and ethics. To this end, some institutions as
authorities, non-governmental organizations or journalists observe markets,
funds, asset managers, and companies. From those observations, they
provide evaluations that may be used by funds, companies and
asset managers to make ethical decisions. For instance, the ethiscore5
is a tool proposed by some journalists to rank a set of hedge funds
regarding a given set of values as ecological, political or social
considerations. According with this tool, a company quoted on a market
may satisfy some criteria as producing sustainable products, having
a socially responsible management method and so on, depending on
the values of the investors, to be considered in an ethical investment
portfolio.</p>
      <p>Knowing those concepts, our proposition consists in representing
them explicitly (asset policies, market policies and evaluations) and
integrate them in autonomous agents’ decision process in terms of
values, morals and ethics.
3</p>
    </sec>
    <sec id="sec-6">
      <title>BDI AGENT ARCHITECTURE FOR</title>
    </sec>
    <sec id="sec-7">
      <title>ETHICAL ASSET MANAGEMENT</title>
      <p>In this section, we first provide a global view of our architecture and
then focus on the two main components for making agents able to
produce ethical behaviours: goodness and rightness processes.
3.1</p>
    </sec>
    <sec id="sec-8">
      <title>Global view</title>
      <p>
        The agent architecture in which we introduce the necessary
representations and mechanisms to have agents able to produce ethical
behaviours is based on a BDI approach [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. In this approach, the
behaviour of an agent is the result of a deliberation designed to issue
intentions, to bring about or to react to some world states with respect
to the agent’s evaluation of the situation (represented by a set B of
beliefs) and the agent’s goals (represented by a set D of desires).
      </p>
      <p>
        To be able to produce an ethical behaviour, the basic BDI
deliberation cycle must be enriched with a process to evaluate the
goodness of a behaviour (represented by a goodness process named GP )
and with another process to evaluate the rightness of a behaviour
(represented by a rightness process named RP ) resulting from the
execution of actions. To this end, agents are equipped with an
action knowledge base A and four other knowledge bases that define
value supports V S, moral rules M R, ethical principles P and
ethical preferences e. Moreover, agents are equipped with an ontology
O = Ov [ Om of moral values Ov (e.g. carefulness, ecology or
transparency) and moral valuations Om (e.g. moral, quite good or
immoral). The global architecture is given in Figure 1 and is issued
of the judgment process proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>In our agent architecture, each action of A is described as a pair
of conditions and consequences bearing respectively on beliefs and
desires. Perception P er and communication Com functions update
beliefs and desires from, respectively, perception of the environment
5 http://www.ethicalconsumer.org/buyersguides/money/
ethicalinvestmentfunds.aspx
and communication with other agents. From its beliefs B and
desires D, an agent executes an Evaluation Process EP to assess both
desirable actions, Ad A (i.e. actions that allow to satisfy the
consequences of the action), and executable actions, Ac A (i.e.
actions whose conditions are satisfied on the current beliefs about the
world). The evaluation process EP produces desirable actions Ad
and executable ones Ap from B and D. At the end of the process, we
find a classical deliberation function that generates the intentions to
execute given the right actions of Ar.</p>
      <p>Com
Per</p>
      <p>VS</p>
      <p>MR
B
A
D</p>
      <p>ME
CE
DE</p>
      <p>Am
Ac
Ad</p>
      <p>EE
P</p>
      <p>Data flow
Awareness Process
Evaluation Process
Goodness Process
Rightness Process
Knowledge base
State
Function</p>
      <p>J
e
Ae</p>
      <p>Ar</p>
      <p>Del</p>
      <p>I
The goodness process GP identifies moral actions Am A6 given
the agent’s beliefs B and desires D, the agent’s actions A, the agent’s
value supports V S given moral values and M R moral rules
knowledge base. It is defined as:</p>
      <p>GP = hV S; M R; Am; M Ei
where M E is the moral evaluation function:</p>
      <p>M E : 2D
2B
2A
2V S
2MR
! 2Am
In order to realize this goodness process, an agent uses knowledge
that associates moral values to combinations of actions and
situations, meaning that the execution of the actions in these situations
promotes the corresponding moral values.</p>
      <p>We represent this knowledge through value supports. A value
support is a tuple hs; vi 2 V S where v 2 Ov is a moral value,
and s = ha; wi is the support of this moral value where a A,
w B [ D. Here, the precise description of a moral value through a
value support relies on the language used to represent beliefs, desires
and actions. For instance, from this definition, carefulness supported
by “do not buy any asset if the volatility V is over a limit Vlimit”
may be represented by:
hhbuy( ); fBel(V</p>
      <p>Vlimit)gi; :caref ulnessi
where represents any asset, Bel(V Vlimit) is a belief
representing the context for which executing the action buy( ) does not
support the value caref ulness. A moral value may also be a subvalue
of another more general one, i.e. all its value supports also support
the more general one.
6 Am * Ad [ Ac because an action might be moral by itself even if it is not
desired or feasible.</p>
      <p>In addition to moral values, an agent must be able to represent
and to manage moral rules. A moral rule describes the association
of a moral valuation m 2 Om to actions or moral values in a given
situation. A moral rule is a tuple hw; o; mi 2 M R where w is a
situation of the current world described by w B [ D interpreted
as a conjunction of beliefs and desires, o = ha; vi where a 2 A and
v 2 Ov, and m 2 Om is a moral valuation that qualifies o when w
holds. For instance, some rules may be represented as follows:
hBel(sector( ; medicine)); hbuy( ); _ i; morali
hBel(going down; ); h _ ; caref ulnessi; quite goodi
A moral rule can be more or less specific depending on the
situation w or the object o. For instance “Transparency is good” is more
general (having less combinations in w or o, thus applying in a larger
number of situations) than “To sell an asset in a quantity superior than
the available bid between the current value and the moving average
minus five percent is immoral”. Classically, moral theories are
classified in three approaches using both moral values and moral rules as
defined above, we can represent such theories.</p>
      <p>A virtuous approach uses general rules based on moral values, e.g.
“Ecology is moral”,
A deontological approach classically considers rules concerning
actions in order to describe as precisely as possible the moral
behavior, e.g. “Buying an asset of an eurolabel certified company is
moral”
A consequentialist approach uses both general and specific rules
concerning states and consequences, e.g. “Investing in an asset of
an company that will practice animal testing is not moral”.
3.3</p>
    </sec>
    <sec id="sec-9">
      <title>Rightness Process</title>
      <p>From the sets of possible (Ap), desirable (Ad) and moral actions
(Am), we can introduce the rightness process RP aiming at
assessing the rightful actions. As an ethical agent can use several ethical
principles to conciliate these sets of actions, we consider a
preference relationship between those principles. Thus, a rightness process
RP produces rightful actions given a representation of the agent’s
ethics. It is defined as:</p>
      <p>RP = hP; e; Ar; EE; J i
where P is a knowledge base of ethical principles, e P P an
ethical preference relationship, Ar A the set of rightful actions
and two functions EE (evaluation of ethics) and J (judgment) such
that :</p>
      <p>EE : 2Ad
2Ap
2Am
2P ! 2E
where E = A</p>
      <p>P
f?; &gt;g.</p>
      <p>J : 2E</p>
      <p>2 e ! 2Ar</p>
      <p>An ethical principle is a function which represents a philosophical
theory and evaluates if it is right or wrong to execute a given action
in a given situation regarding this theory. For instance “It is right to
do the most desirable action which is, at least, amoral” may be a very
simple principle. Formally, an ethical principle p 2 P is defined as:
p : 2A
2B
2D
2MR
2V
! f&gt;; ?g</p>
      <p>The ethics evaluation function EE returns the evaluation of all
desirable, feasible and moral actions (resp. Ad, Ap and Am) given
the set P of known ethical principles. Given a set of actions issued
from EE, the judgment J selects the rightful action Ar to perform,
considering a set of ethical preferences (defined as a partial or total
order on the ethical principles). For instance, a principle P 1 2 P
may be “if an action is possible, desirable and motivated by a moral
rule, it is right to do it” and a principle P 2 2 P “if an action is
possible, desirable and at least not immoral, it is right to do it”. If
P 1 e P 2, the agent will select a right action according with P 1
and, if it is not feasible, a right action regarding P 2. The right action
Ar is transmitted to the classic deliberation function to choose the
intention I to execute.</p>
    </sec>
    <sec id="sec-10">
      <title>4 AGENCY FOR ETHICAL ASSET</title>
    </sec>
    <sec id="sec-11">
      <title>MANAGEMENT</title>
      <p>This section describes the experiment used to to illustrate and
evaluate the use of the architecture presented in the previous section.
We have implemented a multi-agent system that simulates a
financial market where some autonomous ethical trading agents exchange
assets. This system has been implemented using the JaCaMo
platform where agents are programmed using the Jason language and
the market place is based on artifacts from Cartago.
4.1</p>
    </sec>
    <sec id="sec-12">
      <title>Financial market modeling</title>
      <p>
        We consider a marketplace where autonomous trading agents have
the possibility to manage portfolio of assets and to sell or buy assets
(both currencies, i.e. money, and equity securities, i.e. part of a
capital stock of a company) on the market. The set of actions that an agent
can execute on the market are “buy”, “sell” or “cancel” orders. They
respectively correspond to the exchange of an equity for a currency,
the opposite way and cancellation of a proposition of exchange if
this order is not yet executed. These actions will be the ones
considered in the ethical deliberation cycle of an agent. Agents can specify
a limit price or can accept the current market price. Each equity is
quoted in a state-of-the-art Central Limit Order Book (CLOB) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
A CLOB simply stores and sorts by price the set of “buy” and “sell”
orders (respectively placed on bid and ask sides of the same order
book) provided by the agents. When an agent put an order on the bid
or ask side, the CLOB obey the following rules (see Figure 2):
if there is no order to match with, the order is added,
if there is an order to match with, both the incoming and the
present orders are filled, and the rest of the biggest, if any, is placed
in the CLOB (and may eventually match with another order).
      </p>
      <p>Price
Bid side
p + 3
p + 2
p + 1</p>
      <p>Bid8 p
Bid5 Bid5 p 1</p>
      <p>Bid8 p 2</p>
      <p>Ask side
Ask5 Ask5
Ask10
Ask6</p>
      <p>Ask13
t</p>
      <p>Price
Bid side
p + 3
p + 2
p + 1</p>
      <p>EXE p
Bid5 Bid5 p 1</p>
      <p>Bid8 p 2</p>
      <p>Ask side
Ask5 Ask5
Ask10
Ask6</p>
      <p>EXE Ask5
t+1</p>
      <p>Bid side
p + 3
p + 2
p + 1</p>
      <p>p
Bid5 Bid5</p>
      <p>Bid8</p>
      <p>Price
t+2</p>
      <p>Ask side
Ask5 Ask5
Ask10
Ask6
Ask5
p 1
p 2</p>
      <p>The example on the Figure 2 illustrates the addition of an ask
order of thirteen assets at the price p. Before the addition, the best bid
is p and the best ask is p + 1. The new order encounter an order on
the other side during its insertion, so the biggest is splitted and the
executed parts are removed from the CLOB. At the end of the
insertion, the new best bid is p 1 and the new best ask is p. All these
changes are perceived by the agents.</p>
      <p>Agents get a set of beliefs describing the market and their
portfolio, making them able to represent and reason on the current
situation. Agents also perceive each minute a set of statistics on the
activity of each asset: the volume v (the quantity of exchanged
assets), two moving average prices mm and dblmm, respectively the
average price on the last twenty minutes and on the last fourty
minutes, the standard deviations of prices, the closing prices on this
period, and the up and down Bollinger bands (respectively mm + 2
and mm 2 ).</p>
      <p>The agents’ perception function provides the following beliefs
from the environment:
indicators(Date,Marketplace,Asset,Close,Volume,</p>
      <p>Intensity,Mm,Dblmm,BollingerUp,BollingerDown)
onMarket(Date,Agent,Portfolio,Marketplace,</p>
      <p>Side,Asset,Volume,Price)
executed(Date,Agent,Portfolio,Marketplace,</p>
      <p>Side,Asset,Volume,Price)</p>
      <p>The ethical agents are initialized with a set of beliefs about
activities of the companies (e.g. EDF7 produces nuclear energy) and
some labels about their conformity with international standards (e.g.
Legrand8 is labeled FSC).
4.2</p>
    </sec>
    <sec id="sec-13">
      <title>Ethical settings</title>
      <p>The ethical agents know a set of organized values: for instance
“environmental reporting” is considered as a subvalue of “environment”.
They are declared as :
value("environment").
subvalue("promote_renewable_energy","environment").
subvalue("environmental_reporting","environment").
subvalue("fight_climate_change","environment").</p>
      <p>They also have a set of value supports as “trading assets of
nuclear energy producer is not conform with the subvalue promotion of
renewable energy”, “trading asset of an FSC-labeled company is
conform with the subvalue environmental reporting” and “trading assets
of nuclear energy producer is conform with the subvalue fight against
climate changes”. Some examples of value supports are:
~valueSupport(buy(Asset,_,_,_),</p>
      <p>"promote_renewable_energy"):activity(Asset,"nuclear_energy_production").
valueSupport(sell(Asset,_,_,_),
"environmental_reporting")
:label(Asset,"FSC").</p>
      <p>Agents are also equiped with moral rules stating the morality of
environmental considerations. For instance, “It is moral to act in
conformity with the value environment” is simply represented as:
moral_eval(X,V1,moral):</p>
      <p>valueSupport(X,V1) &amp; subvalue(V1,"environment").
moral_eval(X,"environment",moral):</p>
      <p>valueSupport(X,"environment").
7 The French national energy producer.
8 A French electric infrastructure producer.</p>
      <p>In this example, an ethical agent is now able to infer for instance
that, regarding its belief, trading Legrand is moral regarding this
theory of good, and that trading EDF is both moral and immoral.
Finally, ethical agents are equipped with simple principles, such as “It
is rightful to do a possible, not immoral and desirable action”. The
implementation of this principle and some preferences is:
ethPrinciple("desireNR",Action):possible_eval(Action, possible) &amp;
desire_eval(Action,desired) &amp;
not desire_eval(Action,undesired) &amp;
not moral_eval(Action,_,immoral).
prefEthics("perfectAct","desireNR").
prefEthics("desireNR","dutyNR").
4.3</p>
    </sec>
    <sec id="sec-14">
      <title>Families of agents for asset management</title>
      <p>Each agent receives a portfolio (a set of equities and currencies)
at the beginning of the simulation and may exchange it on the
market. Three types of agents are considered in this system:
zerointelligence, zero-ethics and ethical agents.</p>
      <p>Zero-intelligence agents are making random orders (in terms of
price and volume) on the market to generate activity and
simulate the "noise" of real markets. Each zero-intelligence agent is
assigned to an asset. Their only desire and ethical principle are the
application of this random behaviour. In this experiment, they are
used to generate a realistic noisy activity on the market in order to
create opportunities for the other agents.</p>
      <p>Zero-ethics agents only have a simple desirability evaluation
function to speculate: if the price of the market is going up (the shortest
moving mean is over the other one), they buy the asset, otherwise,
they sell it. If the price goes out of the bollinger bands, these rules
are inverted. This strategy is also used by the ethical agents to
evaluate the desirable actions.</p>
      <p>Ethical agents implements the ethical decision process to take
their decisions. An ethical agent implementing the ethical
decision process without any moral value or moral rule and an single
ethical principle that simply considers desirability are also ethical
agents, more precisely hedonic agents. It is different from a
zeroethics agent because this agent still has all the ethical decision
process and explicitly believes that its action are not moral or
immoral. In this experience, ethical agents have the three following
principles (by order of preferences): “It is rightful to do a
possible, moral, not immoral and desirable action”, “It is rightful to do
a possible, not immoral and desirable action” and “It is rightful to
do a possible, moral, not immoral and not undesirable action”.
5</p>
    </sec>
    <sec id="sec-15">
      <title>EXPERIMENTAL RESULTS</title>
      <p>This section details and analyzes the results of a simulation executed
with ten zero-intelligence agents per asset, eight zero-ethics agents
and two ethical agents to illustrate the impact of the ethics described
previously on the behavior of an ethical agent. This quantity of agents
was the optimal one to generate enough opportunities in the
simulations with the limited performances of a laptop. You can download
this experience on the internet9.</p>
      <p>At initialization, each agent receives a portfolio containing a
random set of assets for a total value of 500e more or less.</p>
      <p>Figures 3 and 4 show the results of the experiment. Figure 3 shows
all volume and price information made accessible by the market to
9 https://cointe.users.greyc.fr/download/experience-EDIA2016.zip
the agents. They concern the equities “LEGRAND”. The main data
(represented by a candlestick chart) show us the evolution of the price
on the market and the two moving averages mentioned in section 4.1
(the line charts in the middle of the candlestick chart) are slowly
moving up and down. They are used by the desirability evaluation
to detect opportunities according to the rules detailed in Section 4.3.
The candlestick chart does not break often the Bollinger bands, but
these breaks may happen sometimes. We observe some peaks in the
volume barchart when the moving averages are crossing each other.
This is due to the number of exchanges performed by the zero-ethics
and ethical agents because their desirability function is triggered by
this event.</p>
      <p>Figure 4 represents the evolution of the portfolio of an ethical
agent during the experiment. It provides information on the behavior
of this agent and it was chosen because it is quite representative of
the portfolios of the other ethical agents. The y-axis shows the value
of the portfolio and the colors depend on the assets placed in the
portfolio.</p>
      <p>Firstly, we can notice that the number of EDF equities in the
portfolio never changes during the simulation. We can easily explain that
by the agent’s ethical settings given in Section 4.2: it is never
rightfull to trade this equity because the agent thinks that EDF is a nuclear
energy producer and no ethical principle provided to the agent
considers an immoral action as rightful.</p>
      <p>Secondly, we can also observe many periods where the portfolio
contains the “Legrand” asset. In fact, trading this asset is the only
action judged as moral due to its label. So to buy and to sell this asset
is the only way to satisfy the most preferred principle and obviously,
they are here the most executed actions.</p>
      <p>Finally, we can notice different stages where the agent put in its
portfolio various equities. These equities are bought or sold due to the
desirability of these trades and the impossibility to execute a moral
action.
6</p>
    </sec>
    <sec id="sec-16">
      <title>CONCLUSION</title>
      <p>This paper presents an ethical BDI architecture for agents in a
multiagent system. This architecture is not designed to only implement
a given ethics in the decision process, but also to integrate
different moral rules and values, or ethical principles as parameters of a
generic architecture.</p>
      <p>The paper also presents an experiment that illustrates, in a
particular use case, how to represent and to use moral values, moral rules
and ethical principles in a BDI agent in order to describe a rightful
behavior. The experiment highlights how a few and simple values,
moral rules and ethical principle can influence the behavior of an
agent in order to incite it to prefer a set of rightful actions when they
are available.</p>
      <p>
        Of course, we cannot yet answer some interesting issues such as
how to evaluate the cost of this ethical behavior in terms of
financial performance with a real state-of-the-art trading strategy, or what
is the impact of a given population of ethical agents on a market
behavior. To answer those questions, we need to enrich the
knowledge bases of the ethical agents with some logical models of several
famous available principles in the literature (such those modeled in
[
        <xref ref-type="bibr" rid="ref4 ref8 ref9">4, 8, 9</xref>
        ]) and complete the definition of moral values and rules.
      </p>
      <p>Even if the morals and ethics of the agents are only used in this
experiment to guide their own decisions, we intend in a future work to
use them to evaluate the behavior of the other agents. Indeed, several
usecases can need this kind of abilities, for instance when an
authority wants to monitor the actors on a market, or when an hedge funds
expresses the policy to only cooperate with other trading agents that
satisfy an ethical behavior.</p>
    </sec>
    <sec id="sec-17">
      <title>ACKNOWLEDGMENTS</title>
      <p>The authors acknowledge the support of the French Agence
Nationale de la Recherche (ANR) under reference
ANR-13-CORD0006. They also express their gratitude to Professor Jomi Fred
Hübner for his theoretical and practical support during the design of this
experiment.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Ethical</surname>
            <given-names>judgment. Free</given-names>
          </string-name>
          <string-name>
            <surname>Online Psychology Dictionary</surname>
          </string-name>
          ,
          <year>August 2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>O.B.</given-names>
            <surname>Ahmed</surname>
          </string-name>
          , '
          <article-title>Islamic equity funds: The mode of resource mobilization and placement'</article-title>
          ,
          <source>Islamic Development Bank</source>
          , (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>I. Aldridge</surname>
          </string-name>
          ,
          <article-title>High-frequency trading: a practical guide to algorithmic strategies and trading systems</article-title>
          , volume
          <volume>459</volume>
          , John Wiley and Sons,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>F.</given-names>
            <surname>Berreby</surname>
          </string-name>
          , G. Bourgne, and J.-G. Ganascia, '
          <article-title>Modelling moral reasoning and ethical responsibility with logic programming', in Logic for Programming</article-title>
          ,
          <source>Artificial Intelligence, and Reasoning</source>
          , pp.
          <fpage>532</fpage>
          -
          <lpage>548</lpage>
          . Springer, (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Bono</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Bresin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Pezzolato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ramelli</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Benseddik</surname>
          </string-name>
          , '
          <article-title>Green, social and ethical funds in europe'</article-title>
          ,
          <source>Technical report, Vigeo</source>
          , (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>N.</given-names>
            <surname>Cointe</surname>
          </string-name>
          , G. Bonnet, and
          <string-name>
            <given-names>O.</given-names>
            <surname>Boissier</surname>
          </string-name>
          , '
          <article-title>Ethical judgment of agents' behaviors in multi-agent systems'</article-title>
          , in 15th International Conference on Autonomous agents
          <article-title>and multi-agent systems</article-title>
          , (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <article-title>[7] Directorate-General for Economic and Financial Affairs, 'Impact of the current economic and financial crisis on potential output'</article-title>
          ,
          <source>Occasional Papers 49</source>
          ,
          <string-name>
            <surname>European</surname>
            <given-names>Commission</given-names>
          </string-name>
          , (
          <year>June 2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.-G.</given-names>
            <surname>Ganascia</surname>
          </string-name>
          , '
          <article-title>Ethical system formalization using non-monotonic logics'</article-title>
          ,
          <source>in 29th Annual Conference of the Cognitive Science Society</source>
          , pp.
          <fpage>1013</fpage>
          -
          <lpage>1018</lpage>
          , (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.-G.</given-names>
            <surname>Ganascia</surname>
          </string-name>
          , '
          <article-title>Modelling ethical rules of lying with Answer Set Programming'</article-title>
          ,
          <source>Ethics and information technology</source>
          ,
          <volume>9</volume>
          (
          <issue>1</issue>
          ),
          <fpage>39</fpage>
          -
          <lpage>47</lpage>
          , (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>B.</given-names>
            <surname>Gert</surname>
          </string-name>
          , '
          <article-title>The definition of morality'</article-title>
          , in The Stanford Encyclopedia of Philosophy, ed.,
          <string-name>
            <surname>Edward</surname>
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Zalta</surname>
          </string-name>
          , fall edn., (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>R.</given-names>
            <surname>Johnson</surname>
          </string-name>
          , '
          <article-title>Kant's moral philosophy'</article-title>
          , in The Stanford Encyclopedia of Philosophy, ed.,
          <string-name>
            <surname>Edward</surname>
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Zalta</surname>
          </string-name>
          , summer edn., (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>McIntyre</surname>
          </string-name>
          , '
          <article-title>Doctrine of double effect'</article-title>
          , in The Stanford Encyclopedia of Philosophy, ed.,
          <string-name>
            <surname>Edward</surname>
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Zalta</surname>
          </string-name>
          , winter edn., (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.S.</given-names>
            <surname>Rao</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.P.</given-names>
            <surname>Georgeff</surname>
          </string-name>
          , '
          <article-title>BDI agents: From theory to practice'</article-title>
          ,
          <source>in Proceedings of the First International Conference on Multiagent Systems, June 12-14</source>
          ,
          <year>1995</year>
          , San Francisco, California, USA, eds.,
          <string-name>
            <given-names>V.R.</given-names>
            <surname>Lesser</surname>
          </string-name>
          and
          <string-name>
            <given-names>L.</given-names>
            <surname>Gasser</surname>
          </string-name>
          , pp.
          <fpage>312</fpage>
          -
          <lpage>319</lpage>
          . The MIT Press, (
          <year>1995</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>P.</given-names>
            <surname>Ricoeur</surname>
          </string-name>
          , Oneself as another, University of Chicago Press,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>S.H.</given-names>
            <surname>Schwartz</surname>
          </string-name>
          , '
          <article-title>Basic human values: Theory, measurement</article-title>
          , and applications', Revue française de sociologie,
          <volume>47</volume>
          (
          <issue>4</issue>
          ),
          <fpage>249</fpage>
          -
          <lpage>288</lpage>
          , (
          <year>2006</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Timmons</surname>
          </string-name>
          ,
          <article-title>Moral theory: an introduction</article-title>
          , Rowman &amp; Littlefield Publishers,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>