Chinese Names

As you may know, a San Francisco TV channel got in trouble for reporting fake names of the pilots involved in a recent air crash. If you missed it, here is the video — the fake names are around the 43rd second mark.

http://youtu.be/wFA7t1sHxBI

In light of this TV report, I thought I would post a bunch of fake names that I got through email a while ago. It definitely seems timely, if not appropriate.

That’s not right Sum Ting Wong
Are you harboring a fugitive? Hu Yu Hai Ding
See me ASAP Kum Hia Nao
Stupid Man Dum Fuk
Small Horse Tai Ni Po Ni
Did you go to the beach? Wai Yu So Tan
I bumped into a coffee table Ai Bang Mai Fu Kin Ni
I think you need a face lift Chin Tu Fat
It’s very dark in here Wai So Dim
I thought you were on a diet Wai Yu Mun Ching
This is a tow away zone No Pah King
Our meeting is scheduled for next week Wai Yu Kum Nao
Staying out of sight Lei Ying Lo
He’s cleaning his automobile Wa Shing Ka
Your body odor is offensive Yu Stin Ki Pu
Great Fa Kin Su Pa

Apologies if you find this post offensive — only trying to be funny here.

Why did Federer Lose?

I am a Federer fan. His inevitable decline has been a source of grief for me. When it comes to shot selection, imagination and pure magical talent, there isn’t another tennis player who could ever hold a candle to him. Why did he have to go and lose in the second round of Wimbledon? It damn near broke my heart.

Roger FedererOk, we all know the answer. He is getting too old. But he is only 31, and has to be in terrific shape. I am pushing fifty and can still put in a couple of hours of vigorous badminton. Sure, weekend badminton is no world class tennis, and the effects of aging are very different. Still…, I wish he would stick around a bit longer.

A few months ago, I listened to a series of interesting lectures on the effects of aging on our perception and sensory processes. One thing new that I learned there was that we all have a sixth sense, in addition to sight, hearing, touch, taste and smell. It is the kinesthetic, muscle feedback, which is the sense that allows you to apply just the right amount of pressure, for instance, when braking your car, or holding a baby. You may lose this sense when you get angry and break the glass you are holding, if we are to believe Hollywood movies. In certain games, this sense can make an enormous difference. I had a friend who was a pool shark. He once told me that at the top of his game, he could feel the tiny nicks and scratches on the cue ball through the cue stick in his hand. When I knew him, he was well past his prime, but he could still call shots like bank off the point of the side pocket, and double kiss into the corner pocket. And make them. So I believe him and Eddie Felson (The Hustler) when he says the cue stick, when he holds it, has nerves. I bet Federer could feel the seams of the tennis ball and the amount of spin he was putting on them through the strings and the grip of his racket.

Age blunts the sharpness of all of your senses. The most obvious is your sight. In your forties, you have to hold your smart phone farther and farther away from your face to read the tiny screen. At some point, your hand is not long enough and you end up using reading glasses — reluctantly at first, but more readily as the years roll by and the images get blurrier. Apparently you lose your sensitivity to high pitched sound as well. So teenagers can download ringtones that their parents and teachers are deaf to. But the first sense to go is the muscle feedback, which begins to decline in your teens. This, apparently, is the reason why the Olympic gymnasts are all teenagers. By the time they are in their twenties, this sense of theirs is already too weak to keep them competitive at that level. I guess it is this sense that has deserted Roger Federer as well.

Frederer’s brand of tennis with its finesse and artistry demanded more of this sense. His opponents tend to hit flatter and harder. I read somewhere that they use stiffer rackets for this purpose, and can hold Federer behind the baseline. The champion stubbornly refuses to switch to this style and this kind of rackets. May be he is getting a bit too old. Reminds me of Bjorn Borg, when he attempted a mini come-back with his wooden racket.

Trade Inception

The inception events of a trade can be classified into two categories. The pre-trade activities are those that have to take place even before the first trade is booked. The per-trade inception activities are the ones specific to each trade.

Pre-trade activities

The pre-trade activities are related to new product on-boarding and approval. As we saw, in-house trading platforms are designed to be nimble and responsive. In principle, it should take little time for a new product to be on-boarded. The last system I worked on, for instance, was designed to deploy a new product idea in a matter of minutes. But the architects of such systems tend to forget the human, process-related and control elements involved in it. As the slide above illustrates, a new product idea or a new pricing model originates from the work of a model quant or a structurer in Front Office. But before it gets anywhere near a production system, the pricing model needs to be validated, typically by the analytics team in the Middle Office risk management group. Once validated, the product goes through a tortuous approval process that may take weeks or months, and then a formal deployment process, which may again take weeks or months. When that process is completed, the product is available for trading in the trading platform.

Once available, the product can be instantiated as a trade. Each trade instance goes through its own validation and approval process. The trade request may originate from the sales or structuring team in Front Office. They will also prepare the term sheet and other legal documents. Once these tasks are completed, a trade is booked into the trading platform.

Per-trade process

These inception events are depicted in the second slide above. One of the crucial steps in the approval process is the credit control. As we described earlier, the credit risk management team uses a variety of tools to assess the risks involved. With their approval, and with the traders understanding of the market price of the product, a product available in the trading platform becomes a trade in the database. And the lifecycling fun begins.

Deferred Satisfaction

The mother was getting annoyed that her teenaged son was wasting time watching TV.
“Son, don’t waste your time watching TV. You should be studying,” she advised.
“Why?” quipped the son, as teenagers usually do.
“Well, if you study hard, you will get good grades.”
“Yeah, so?”
“Then, you can get into a good school.”
“Why should I?”
“That way, you can hope to get a good job.”
“Why? What do I want with a good job?”
“Well, you can make a lot of money that way.”
“Why do I want money?”
“If you have enough money, you can sit back and relax. Watch TV whenever you want to.”
“Well, I’m doing it right now!”

What the mother is advocating, of course, is the wise principle of deferred satisfaction. It doesn’t matter if you have to do something slightly unpleasant now, as long as you get rewarded for it later in life. This principle is so much a part of our moral fabric that we take it for granted, never questioning its wisdom. Because of our trust in it, we obediently take bitter medicines when we fall sick, knowing that we will feel better later on. We silently submit ourselves to jabs, root-canals, colonoscopies and other atrocities done to our persons because we have learned to tolerate unpleasantnesses in anticipation of future rewards. We even work like a dog at jobs so loathesome that they really have to pay us a pretty penny to stick it out.

Before I discredit myself, let me make it very clear that I do believe in the wisdom of deferred satisfaction. I just want to take a closer look because my belief, or the belief of seven billion people for that matter, is still no proof of the logical rightness of any principle.

The way we lead our lives these days is based on what they call hedonism. I know that the word has a negative connotation, but that is not the sense in which I am using it here. Hedonism is the principle that any decision we take in life is based on how much pain and pleasure it is going to create. If there is an excess of pleasure over pain, then it is the right decision. Although we are not considering it, the case where the recipients of the pain and pleasure are distinct individuals, nobility or selfishness is involved in the decision. So the aim of a good life is to maximize this excess of pleasure over pain. Viewed in this context, the principle of delayed satisfaction makes sense — it is one good strategy to maximize the excess.

But we have to be careful about how much to delay the satisfaction. Clearly, if we wait for too long, all the satisfaction credit we accumulate will go wasted because we may die before we have a chance to draw upon it. This realization may be behind the mantra “live in the present moment.”

Where hedonism falls short is in the fact that it fails to consider the quality of the pleasure. That is where it gets its bad connotation from. For instance, a ponzi scheme master like Madoff probably made the right decisions because they enjoyed long periods of luxurious opulence at the cost of a relatively short durations of pain in prison.

What is needed, perhaps, is another measure of the rightness of our choices. I think it is in the intrinsic quality of the choice itself. We do something because we know that it is good.

I am, of course, touching upon the vast branch of philosophy they call ethics. It is not possible to summarize it in a couple of blog posts. Nor am I qualified enough to do so. Michael Sandel, on the other hand, is eminently qualified, and you should check out his online course Justice: What is the Right Thing to Do? if interested. I just want to share my thought that there is something like the intrinsic quality of a way of life, or of choices and decisions. We all know it because it comes before our intellectual analysis. We do the right thing not so much because it gives us an excess of pleasure over pain, but we know what the right thing is and have an innate need to do it.

That, at least, is the theory. But, of late, I’m beginning to wonder whether the whole right-wrong, good-evil distinction is an elaborate ruse to keep some simple-minded folks in check, while the smarter ones keep enjoying totally hedonistic (using it with all the pejorative connotation now) pleasures of life. Why should I be good while the rest of them seem to be reveling in wall-to-wall fun? Is it my decaying internal quality talking, or am I just getting a bit smarter? I think what is confusing me, and probably you as well, is the small distance between pleasure and happiness. Doing the right thing results in happiness. Eating a good lunch results in pleasure. When Richard Feynman wrote about The Pleasure of Finding Things Out, he was probably talking about happiness. When I read that book, what I’m experiencing is probably closer to mere pleasure. Watching TV is probably pleasure. Writing this post, on the other hand, is probably closer to happiness. At least, I hope so.

To come back my little story above, what could the mother say to her TV-watching son to impress upon him the wisdom of deferred satisfaction? Well, just about the only thing I can think of is the argument from hedonism saying that if the son wastes his time now watching TV, there is a very real possibility that he may not be able to afford a TV later on in life. Perhaps intrinsically good parents won’t let their children grow up into a TV-less adulthood. I suspect I would, because I believe in the intrinsic goodness of taking responsibility for one’s actions and consequences. Does that make me a bad parent? Is it the right thing to do? Need we ask anyone to tell us these things?

Life of a Trade

With the last post, we have reached the end of the second section on the static structure of the bank involved in trading activities. But a trade by itself is a dynamic entity. In this third section, we will look at the evolution of a trade, and see how it flows back and forth between the various business units we described in the last section. We will make the this section and the next into a new series of posts because the first series (on How Does a Bank Work?) has become a bit too long.

Back Office and Finance

As with most dynamic entities, trades also have the three lifecycle stages of inception, existence and termination. What we need to understand clearly is what the processes are around these general stages. What are the business units involved at each of these stages? What do they do? And how do they do it?

Trade lifecycle

We will see that from our perspective, the lifecycle interactions are all mediated by the trading platform. It is not so much because everything is contained within the trading platform, but because we are interested only in that limited set of processes that are. In some sense, the last section was about the physical, spatial description of the bank, and this section is going to be on the temporal evolution and dynamics of how things work on that structure.

Languages

Before leaving India in the late eighties, I could speak a bit of Hindi as my third language. English was the second language, and Malayalam my mother tongue. I wasn’t fluent in Hindi by any stretch of imagination, but I could speak it well enough to get rid of a door-to-door salesman, for instance.

This is exactly what my father (a confirmed Hindi-phobe) asked me to do during one of my visits home when a persistent, Hindi-speaking sari salesman was hovering over our front porch. By that time, I had spent over six years in the US (and considered my English very good) and a couple of years in France (enough to know that “very good English” was no big deal). So to get rid of the sari-wala, I started to talk to him in Hindi, and the strangest thing happened — it was all French that was coming out. Not my mother tongue, not my second or third language, but French! In short, there was very confused sari salesman roaming the streets that day.

True, there is some similarity between Hindi and French, for instance, in the sounds of interrogative words, and the silly masculine-feminine genders of neutral objects. But I don’t think that was what was causing the outpouring of Frenchness. It felt as though French had replaced Hindi in my brain. Whatever brain cells of mine that were wired up to speak Hindi (badly, I might add) were being rewired a la franciaise! Some strange resource allocation mechanism was recycling my brain cells without my knowledge or consent. I think this French invasion in my brain continued unabated and assimilated a chunk of my English cells as well. The end result was that my English got all messed up, and my French never got good enough. I do feel a bit sorry for my confused brain cells. Karma, I guess — I shouldn’t have confused the sari salesman.

Though spoken in jest, I think what I said is true — the languages that you speak occupy distinct sections of your brain. A friend of mine is a French-American girl from the graduate years. She has no discernable accent in her Americanese. Once she visited me in France, and I found that whenever she used an English word while speaking French, she had a distinct French accent. It was as though the English words came out of the French section of her brain.

Of course, languages can be a tool in the hands of the creative. My officemate in France was a smart English chap who steadfastly refused to learn any French at all, and actively resisted any signs of French assimilation. He never uttered a French word if he could help it. But then, one summer, two English interns showed up. My officemate was asked to mentor them. When these two girls came to our office to meet him, this guy suddenly turned bilingual and started saying something like, “Ce qu’on fait ici.. Oh, sorry, I forgot that you didn’t speak French!”

Summary – Structure of a Bank

We have now completed our discussion on the general structure of a typical investment bank trading arm. We went through the Front-Middle-Back Office divisions and the functional and business units contained within. Note that we looked only at those units that have a bearing on trading and quantitative development activities. Note also that this structure is fluid and may be implemented with different names and hierarchies in different banks depending on their corporate strategies and focus. We presented the trading platform as the enabler or backdrop of most of these activities of the global treasury (where exotics trading activities take place) and the associated business units (that handle various aspects of the trade workflow) mainly because we are looking at the whole thing from the quantitative development perspective.

Back Office and Finance

From this perspective, you see the trading platform as the most important tool (or collection of tools) in the bank. It mediates almost all the interactions among the various business units. Furthermore, as we shall see in future posts, the trading platform defines the trade workflow and lifecycle management. Therefore, it will also become important for the quantitative developers to understand how these business units view trades and the trade booking and management process. Their trade perspectives will have to influence the design of the trading platform.

Am I Pretentious?

I was chatting with an old friend of mine, and he told me that he never felt inclined to read anything I wrote. Naturally, I was a little miffed. I mean, I pour my heart and soul into my books, columns and these posts here, and people don’t even feel inclined to read it? Why would that be? My friend, helpful as always, explained that it was because I sounded pretentious. My first reaction, of course, was to get offended and say all kinds of nasty things about him. But one has to learn to make use of criticism. After all, if I sound pretentious to somebody, there is no use pointing out that I am not really pretentious because what I sound like and look like and feel like is really what I am to that somebody. That is one of the underlying themes of my first book. Well, not quite, but close enough.

Why do I sound pretentious? And what does that even mean? Those are the questions that I shall analyze today. You see, I take these things very seriously.

A few years ago, during my research years here in Singapore, I met this professor from the US. He was originally from China and had gone to the states as a graduate student. Typically, such first generation Chinese emigrants don’t speak very good English. But this guy spoke extremely well. To my untrained ears, he sounded pretty much identical to an American and I was impressed. Later on, I was sharing my admiration with a Chinese colleague of mine. He wasn’t impressed at all, and said, “This guy is a phoney, he shouldn’t try to sound like an American, he should be speaking like a Chinese who learned English.” I was baffled and asked him, “If I learn Chinese, should I try to sound like you, or try to hang on to my natural accent?” He said that was totally different — one is about being pretentious, the other is about being a good student of a foreign tongue.

When you call someone pretentious, what you are saying is this, “I know what you are. Based on my knowledge, you should be saying and doing certain things, in a certain way. But you are saying or doing something else to impress me or others, pretending to be somebody better or more sophisticated than you really are.”

The implicit assumption behind this accusation is that you know the person. But it is very difficult to know people. Even those who are very close to you. Even yourself. There is only so far you can see within yourself that your knowledge even of yourself is always going to be incomplete. When it comes to casual friends, the chasm between what you think you know and what is really the case could be staggering.

In my case, I think my friend found my writing style a bit pompous perhaps. For example, I usually write “perhaps” instead of “may be.” When I speak, I say “may be” like everybody else. Besides, when it comes to speaking, I’m a stuttering, stammering mess with no voice projection or modulation to save my life. But my writing skills are good enough to land me book commissions and column requests. So, was my friend assuming that I shouldn’t be writing well, based on what he knew about how I spoke? Perhaps. I mean, may be.

However, (I really should start saying “but” instead of “however”) there are a couple of things wrong with that assumption. Everyone of us is a complex collage of multiple personas happily cohabiting in one human body. Kindness and cruelty, nobility and pettiness, humility and pompousness, generous actions and base desires can all co-exist in one person and shine through under the right circumstances. So can my weak articulation and impressive (albeit slightly pretentious) prose.

More importantly, people change over time. About fifteen years ago, I spoke fluent French. So if I preferred conversing with a French friend in his tongue, was I being pretentious given that I couldn’t do it five years before that time? Ok, in that case I really was, but a few years before that, I didn’t speak English either. People change. Their skills change. Their abilities change. Their affinities and interests change. You cannot size up a person at any one point in time and assume that any deviation from your measure is a sign of pretentiousness.

In short, my friend was an ass to have called me pretentious. There, I said it. I have to admit — it felt good.

Back Office, Finance et al

From the quant and quantitative development perspective, Back Office is a distant entity. Their role is vital in the trade lifecycle, as we shall see later, but they are outside the sphere of influence of the quants and developers.

Back Office and Finance

Back Office concerns itself mainly with trade settlements and accounting. Upon maturity, each trade generates a settlement trigger usually with the help of a vended trading or settlement platform, which will be picked up and acted upon by the Back Office professionals. They also take care of cash and collateral management.

Finance functions are closely related to Back Office operations. Among a host of accounting related operations, they have one critically important task, which is to produce annual reports. These reports get publicly scrutinized and determine everything from the stock price to performance bonuses, salary levels etc. Finance professionals may require quant and analytic help for certain tasks. In one of my previous roles, I was asked to estimate the fair market value of the employee stock options (ESOP) for the purpose of accounting for them in the annual reports.

The process of pricing ESOP is similar to (although a bit more complicated than) normal call option pricing. Among other things, you need the volatility of the underlying stock in order to calculate the price. I used the standard exponentially weighted moving average method to estimate it from the published stock prices over the previous two years or so to compute it because that was all the data I had access to. Before that time, there was some corporate action and stock ticker name had changed (or did not exist, I don’t remember which). In any case, I knew that the impact of adding more data prior to that date would be negligible because of the exponentially diminishing weights; it would be much less that the round off error in quoting the price to four decimal places, for instance. But the accountant who was asked to look at the computation was upset. She came to me with her rulebook and referred me to page 57, paragraph 2, where it was specified that I was supposed to use ten years for the EWMA computation. I tried, in vain, to explain to her that I couldn’t. She kept saying, “Yeah, but page 57, para 2….” I went on to explain why it didn’t really make any difference. She said, “Yeah, but page 57, para 2….”

Accountants and Finance professionals can be that way. They can be a bit “technical” about such things. In hindsight, I guess I was being naive. I could have just used a series of zeros to back-populate the missing eight years of data (after all, if the ticker price was not quoted, it is zero), and redone my ESOP valuation, which would have given an ESOP price identical to what I computed earlier, but this time satisfying both Finance and the quants.

IT and other support

A team which quantitative developers work closely with is Information Technology. They are charged with the IT infrastructure, security, networking, procurement, licensing and everything else related to computing. In fact, quantitative development is, as I portrayed it earlier, a middle layer between IT and pure mathematical work. So it is possible for quantitative developers to find themselves under the IT hierarchy, although it doesn’t work to their advantage. Information Technology is a cost center, as are all other Middle and Back Office functions, while Front Office units connected to trading are profit centers. Profit generators get compensated far better than others, and it is better to be associated with them than IT.

My Life, My Way

After almost eight years in banking, I have finally called it quits. Over the last three of those years, I had been telling people that I was leaving. And I think people had stopped taking me seriously. My wife certainly did, and it came as a major shock to her. But despite her studied opposition, I managed to pull it off. In fact, it is not just banking that I left, I have actually retired. Most of my friends greeted the news of my retirement with a mixture of envy and disbelief. The power to surprise — it is nice to still have that power.

Why is it a surprise really? Why would anyone think that it is insane to walk away from a career like mine? Insanity is in doing the same thing over and over and expecting different results. Millions of people do the same insanely crummy stuff over and over, everyone of them wanting nothing more than to stop doing it, even planning on it only to postpone their plans for one silly reason or another. I guess the force of habit in doing the crummy stuff is greater than the fear of change. There is a gulf between what people say their plans are and what they end up doing, which is the theme of that disturbing movie Revolutionary Road. This gulf is extremely narrow in my case. I set out with a bunch of small targets — to help a few people, to make a modest fortune, to provide reasonable comfort and security to those near. I have achieved them, and now it is time to stop. The trouble with all such targets is that once you get close to them, they look mundane, and nothing is ever enough for most people. Not for me though — I have always been reckless enough to stick to my plans.

One of the early instances of such a reckless action came during my undergraduate years at IIT Madras. I was pretty smart academically, especially in physics. But I wasn’t too good in remembering details like the names of theorems. Once, this eccentric professor of mine at IIT asked me the name of a particular theorem relating the line integral of the electric field around a point and the charge contained within. I think the answer was Green’s theorem, while its 3-D equivalent (surface integral) is called Gauss’s theorem or something. (Sorry, my Wikipedia and Google searches didn’t bring up anything definitive on that.) I answered Gauss’s theorem. The professor looked at me for a long moment with contempt in his eyes and said (in Tamil) something like I needed to get a beating with his slippers. I still remember standing there in my Khakki workshop attire and listening to him, with my face burning with shame and impotent anger. And, although physics was my favorite subject (my first love, in fact, as I keep saying, mostly to annoy my wife), I didn’t go back to any of his lectures after that. I guess even at that young age, I had this disturbing level of recklessness in me. I now know why. It’s is the ingrained conviction that nothing really matters. Nothing ever did, as Meursault the Stranger points out in his last bout of eloquence.

I left banking for a variety of reasons; remuneration wasn’t one of them, but recklessness perhaps was. I had some philosophical misgivings about the rightness of what I was doing at a bank. I suffered from a troubled conscience. Philosophical reasons are strange beasts — they lead to concrete actions, often disturbing ones. Albert Camus (in his collection The Myth of Sisyphus) warned of it while talking about the absurdity of life. Robert Pirsig in his epilog to Zen and the Art of Motorcycle Maintenance also talked about when such musings became psychiatrically dangerous. Michael Sandel is another wise man who, in his famous lectures on Justice: What is the Right Thing to Do? pointed out that philosophy could often color your perspective permanently — you cannot unlearn it to go back, you cannot unthink a thought to become normal again.

Philosophy and recklessness aside, the other primary reason for leaving the job was boredom. The job got so colossally boring. Looking out my window at the traffic 13 floors below was infinitely more rewarding than looking at the work on my three computer screens. And so I spent half my time staring out the window. Of course, my performance dwindled as a result. I guess scuttling the performance is the only way to realistically make oneself leave a high-paying job. There are times when you have have to burn the bridges behind you. Looking back at it now, I cannot really understand why I was so bored. I was a quantitative developer and the job involved developing reports and tools. Coding is what I do for fun at home. That and writing, of course. May be the boredom came from the fact that there was no serious intellectual content in it. There was none in the tasks, nor in the company of the throngs of ambitious colleagues. Walking into the workplace every morning, looking at all the highly paid people walking around with impressive demeanors of doing something important, I used to feel almost sad. How important could their bean-counting ever be?

Then again, how important could this blogging be? We get back to Meursault’s tirade – rien n’avait d’importance. Perhaps I was wrong to have thrown it away, as all of them keep telling me. Perhaps those important-looking colleagues were really important, and I was the one in the wrong to have retired. That also matters little; that also has little importance, as Meursault and my alter ego would see it.

What next is the question that keeps coming up. I am tempted to give the same tongue-in-cheek answer as Larry Darrell in The Razor’s Edge — Loaf! My kind of loafing would involve a lot of thinking, a lot of studying, and hard work. There is so much to know, and so little time left to learn.

Photo by kenteegardin