YouTube2Text

Complex Systems - Jean-Philippe Bouchaud - Lecture 5: Optimal Liquidation (Valentina Ros) — Transcript

by EconophysiX Lab · 11,358 words · 1,789 segments · language en · Watch on YouTube

Full transcript

  1. 0:01this conference will now be recorded
  2. 0:05okay so before we start uh let me just
  3. 0:11a warn you of the fact that we forgot to
  4. 0:13record the previous lecture but there
  5. 0:16will be lecture notes that I will upload
  6. 0:18uh to our ens folder so at least the
  7. 0:22material will be there available for
  8. 0:24everybody to read and I saw that there
  9. 0:27are some questions on both homeworks and
  10. 0:30lecture notes in the question and answer
  11. 0:31five so now we go through them between
  12. 0:34today and tomorrow
  13. 0:35so hopefully that will also be addressed
  14. 0:39uh very soon
  15. 0:41okay and now let's come to the topics of
  16. 0:45the uh today of today which is related
  17. 0:47to this problem of optimal control that
  18. 0:51was discussed uh in the last lecture so
  19. 0:54uh what we're going to do is go through
  20. 0:56this exercise so we will do the main
  21. 0:59part and then there are some
  22. 1:00calculations that I will leave
  23. 1:02an exercise and if there is time I will
  24. 1:05go back to uh to the final part of today
  25. 1:09number three uh just to discuss a little
  26. 1:11bit how to solve for the stationary
  27. 1:13state of soccer plank equations for
  28. 1:17multiplication noise so that's uh quite
  29. 1:20an easy thing but it's good to see it at
  30. 1:23least once uh as a Blackboard
  31. 1:27before let's start with with the today's
  32. 1:32the text
  33. 1:35mail
  34. 1:36and the idea is to discuss a simple
  35. 1:39application of this Hamilton Jacobi
  36. 1:42Bellman equation
  37. 1:43and the problem that we have in mind in
  38. 1:45here is you can think of it as a problem
  39. 1:48of optimal liquidation which means that
  40. 1:52there is a summaries or some agents that
  41. 1:55has for instance x times zero a given
  42. 1:58amount
  43. 1:59q0 of some tradable instrument as we
  44. 2:03call it here so this can be whatever you
  45. 2:05can even think about some stocks uh that
  46. 2:09you have at time t equal to zero and you
  47. 2:12would like to sell all of this uh
  48. 2:14quantity of uh of stocks or of this
  49. 2:17instrument and you want to do it before
  50. 2:19a given final time T so this is the
  51. 2:22finite time Horizon and the question is
  52. 2:25what is the optimal way to do this so
  53. 2:27what is the speed at which you should
  54. 2:30sell should you try to sell everything
  55. 2:32very fast at the beginning or should you
  56. 2:35somehow have a strategy that is more
  57. 2:37flat over this time interval or or let's
  58. 2:41say in general what is the best way to
  59. 2:42do this
  60. 2:43and we will try to discuss two
  61. 2:46Frameworks so the first part is about
  62. 2:48let's say one single agent that has to
  63. 2:52face this uh optimization problem and
  64. 2:55the second part is uh about uh so in the
  65. 2:58second part we will introduce some
  66. 3:00interactions that we will treat at the
  67. 3:03mutual level so the idea is that you
  68. 3:05have one agent that wants to sell its
  69. 3:07quantity of each amount of this uh of
  70. 3:11these stocks let's say but he or she is
  71. 3:14not alone and there are many others with
  72. 3:16whom there is some interaction
  73. 3:19okay so let's start with uh with part
  74. 3:22one
  75. 3:23and let me summarize a little bit
  76. 3:26uh what are the quantities uh let me
  77. 3:29first uh let me
  78. 3:31um tell you that the way we will treat
  79. 3:34this problem with interaction uh Falls
  80. 3:37within the framework of the so-called
  81. 3:39meaningful gains and there is some
  82. 3:40reference in the text of the today that
  83. 3:42you may look at if you're interested
  84. 3:44into this subject of maybe games
  85. 3:47okay but first let's start with uh with
  86. 3:50a single agent
  87. 3:53foreign
  88. 3:58so there are some random variables which
  89. 4:00describe the state of your systems that
  90. 4:03I will encode into a vector Y which
  91. 4:06depends on time
  92. 4:07and these random variables are Q
  93. 4:10Depending on time are some X of T and
  94. 4:14some f of t
  95. 4:17so this Q is the amount of instrument
  96. 4:21that you want to sell in this finite
  97. 4:23time interval so I will call it to be
  98. 4:25inventory
  99. 4:28it's time t
  100. 4:30x is essentially the amount of money
  101. 4:33that you make out of this selling so I
  102. 4:35will call it the wealth just to
  103. 4:39uh just to have a name for it and X is a
  104. 4:43variable which does not describe
  105. 4:44directly the state of the agent but if
  106. 4:47you want to describe the state of uh of
  107. 4:50the market in some sense so this is the
  108. 4:52price Associated to uh to the object
  109. 4:55that the agent wants to sell
  110. 4:59and of course this quantity are a
  111. 5:01dynamical quantities so they satisfy
  112. 5:03certain equation of motion in time
  113. 5:06so in particular
  114. 5:08Q of T will vary over time because of
  115. 5:11course it will decrease whenever you are
  116. 5:13selling this quantity and it will
  117. 5:16decrease proportionally to some
  118. 5:18velocities that I call VT
  119. 5:21and the velocity is precisely the
  120. 5:24control so it is the function of time
  121. 5:27that you on which you have some power so
  122. 5:30you can choose how fast you want to sell
  123. 5:32this quantity over time so let me call
  124. 5:35it as we did in the lecture
  125. 5:39the control
  126. 5:42so you see that when you're selling this
  127. 5:45quantity is diminishing and so your
  128. 5:46velocity is is negative in this
  129. 5:49definition
  130. 5:51then how much money do you make in an
  131. 5:55interval DT by selling this quantity
  132. 5:56well this is this has to be proportional
  133. 6:00to minus VP
  134. 6:02times uh what what you would put in here
  135. 6:06a priority would be
  136. 6:08somehow the price of of the quantity
  137. 6:11that you are selling
  138. 6:13uh that that is given by S of T but then
  139. 6:17the idea is that when you do this type
  140. 6:19of financial operation let's say there
  141. 6:21is also a cost which is associated to
  142. 6:23the fact that you are selling or uh or
  143. 6:26buying and in the model that we will
  144. 6:28consider today the cost we will take it
  145. 6:30to be simply proportional to the
  146. 6:32velocity at which you are selling these
  147. 6:35quantities so I will introduce
  148. 6:37in here
  149. 6:39an additional factor of K times the
  150. 6:43velocity and this is telling you that
  151. 6:46essentially when you are selling so this
  152. 6:48velocity is negative the effective price
  153. 6:51at which you sell your your good is uh
  154. 6:56is let's say the price of the good
  155. 6:57itself minus the cost Associated to the
  156. 7:00operation which is uh which is given by
  157. 7:03this kvt
  158. 7:04and then you have an equation for the
  159. 7:07third dynamical variable in here which
  160. 7:09is the price
  161. 7:11and uh and this will be given by some
  162. 7:15quantities that I call MU of t
  163. 7:18and this function mu is uh is where the
  164. 7:22interaction will enter when we will
  165. 7:24discuss it uh in in part two but for the
  166. 7:27moment let me write it generically like
  167. 7:29this
  168. 7:30plus what we can do is to add some noise
  169. 7:33so some volatility that tells you that
  170. 7:35there are fluctuations uh in the price
  171. 7:37that due to uh two different reasons and
  172. 7:41that you encode generically into into
  173. 7:43some noise term so just to give you some
  174. 7:46terminology this quantity in here that
  175. 7:50decreases uh the price is uh often
  176. 7:54called in this literature market price
  177. 7:58and this quantity here which controls
  178. 8:01how the price is varying with respect to
  179. 8:04the to
  180. 8:05say some external input which may
  181. 8:09contain uh also the state of of other
  182. 8:12agents is what is usually called so let
  183. 8:15me try to put an arrow like this it's
  184. 8:17called Market impact
  185. 8:19and can you put up the Blackboard a
  186. 8:22little bit because it's out of the sure
  187. 8:25this way
  188. 8:29perfect thanks
  189. 8:32okay that's good
  190. 8:35okay so this is what we are going to
  191. 8:36discuss in part one now let me just uh
  192. 8:39mention what shall one do uh to
  193. 8:42generalize this to the case of many
  194. 8:45agents so I will be a little bit floppy
  195. 8:47in here but
  196. 8:49let's say that the idea is that
  197. 8:53if you have many agents you can label
  198. 8:55them with some index a so you will have
  199. 8:58one of these State vectors
  200. 9:01the Y of T will go to some y of T
  201. 9:05labeled by a and a identifies each of
  202. 9:09your agents so let me
  203. 9:11assume that they go from one to n
  204. 9:13and the interaction between them as I
  205. 9:16said will enter through this quantity mu
  206. 9:20in here and what we are going to
  207. 9:23consider in the following is the case in
  208. 9:26the in which the MU
  209. 9:27and let's see that enters into the
  210. 9:30equations for the agent a
  211. 9:33is the average of the velocities of all
  212. 9:38of the other agents in the in the market
  213. 9:41let's say so I will think about
  214. 9:43something like this this will be one
  215. 9:46some one over and some overall other
  216. 9:49agents of
  217. 9:52their velocity
  218. 9:54and what we will we will do in part two
  219. 9:56is to go to some sort of continuous
  220. 9:58limit and replace let's say this average
  221. 10:01with with A continuous average but I
  222. 10:04recommend more about this in the
  223. 10:07following
  224. 10:08okay so to conclude uh the introduction
  225. 10:10to the model what I have to do is to
  226. 10:13specify the objective function or the
  227. 10:16cost function which is actually a
  228. 10:18functional which depends on all of the
  229. 10:21trajectory over time of this Vector y
  230. 10:25so let me call it g
  231. 10:27of
  232. 10:29e0 and Y 0 so t 0 and 1 y 0 are the
  233. 10:33initial time and the initial condition
  234. 10:35and this function is given by the sum of
  235. 10:38two terms
  236. 10:39so there is a first term which is the
  237. 10:42game
  238. 10:43that is actually just a function of the
  239. 10:46final State the state at time capital T
  240. 10:50of your system that I will write in a
  241. 10:53minute and then you have some so this is
  242. 10:55the game
  243. 10:57that you want to maximize
  244. 11:00and you have also some cost which
  245. 11:02contributes to this objective function
  246. 11:04which is the integral from the initial
  247. 11:07time to the final time
  248. 11:10of
  249. 11:12your inventory to the uh to the power
  250. 11:16two so this is something that penalizes
  251. 11:18you whenever you still have uh the
  252. 11:21quantity of of your good uh to sell and
  253. 11:25you have not yet uh sold uh all of it
  254. 11:29so this will be a cost Associated to the
  255. 11:33fact that you have still a finite
  256. 11:35inventory at any time uh s here
  257. 11:39and uh how do we write the gain well
  258. 11:43so again this is an example of a model
  259. 11:48that we take here and in here we choose
  260. 11:51the gain to be to be what well you have
  261. 11:54the final wealth uh that you get by
  262. 11:56selling your quantity at the final time
  263. 11:58capital T that of course you want to
  264. 12:01maximize
  265. 12:02and then if you are left with some
  266. 12:05amount of these quantities that you have
  267. 12:07not yet sold then there is some value
  268. 12:10Associated to it that in principle would
  269. 12:13be the product so the amount of this
  270. 12:16quantity times the price at that
  271. 12:19particular uh final time but again you
  272. 12:22may have uh or it is realistic to assume
  273. 12:26that the price is not really so a little
  274. 12:28bit similarly to what you have in here
  275. 12:30uh the final price is somehow diminished
  276. 12:33by the fact that maybe you want to
  277. 12:36liquidate at finite time T so you really
  278. 12:38want to sell whatever you're left with
  279. 12:40at the final time and when you want to
  280. 12:44sell it so fast at the end there might
  281. 12:46be a penalty so let's say a cost an
  282. 12:49execution price this is how it is hold
  283. 12:52associated with selling at the finance
  284. 12:55time which again diminishes the uh the
  285. 12:57effective price
  286. 12:59at the time capital T
  287. 13:02okay so what we're gonna do is to try to
  288. 13:05look at this example and derive some
  289. 13:08Hamilton Jacobi Bellman equation for
  290. 13:11this particular model
  291. 13:15and before let me check that you see
  292. 13:19okay
  293. 13:22so let's start with the first part and
  294. 13:24before let me just make a comment so
  295. 13:26this is part one
  296. 13:33so the first point is is just a comment
  297. 13:35if you want to uh if what we can do is
  298. 13:39to look a little bit at the model and
  299. 13:41try to figure out how many parameters we
  300. 13:43have which are quite many so we have two
  301. 13:46parameters which enter into the equation
  302. 13:48for the price which are Theta that
  303. 13:51measures uh among the strength of this
  304. 13:54Market impact and we have the variance
  305. 13:57Sigma Associated to the noise
  306. 14:00and then you have three other parameters
  307. 14:02so this Kappa here in the equation for
  308. 14:05the wife
  309. 14:07and uh whereas we have the Phi in in the
  310. 14:12in the cost function there and we have
  311. 14:15capital A which controls some of the
  312. 14:19cost Associated to selling everything at
  313. 14:22the final time
  314. 14:23and what I just want to point out so we
  315. 14:25will go back to analyzing a little bit
  316. 14:28the effects of these parameters and once
  317. 14:31we have the solution to the problem but
  318. 14:32I just want to uh pose a moment to to
  319. 14:35figure out uh what should be at the
  320. 14:38effects of all of this parameter in
  321. 14:40particular of the last three
  322. 14:42and the idea is that more or less the
  323. 14:45parameters Phi and the parameter capital
  324. 14:48a Are quantities that uh won't you or
  325. 14:52push you to sell faster in a way right
  326. 14:55because Phi is associated to the uh cost
  327. 15:00that you pay at any time by having a
  328. 15:03finite inventory so it's due to the fact
  329. 15:06that you have not sold everything at
  330. 15:08that time and so there is a cost
  331. 15:10associated with so when this high is
  332. 15:13large you expect that you want to choose
  333. 15:15a velocity that is somehow fast enough
  334. 15:17so that you have all of this quantity
  335. 15:21fast enough and more or less the same
  336. 15:23role is played by this uh capitalane
  337. 15:25here
  338. 15:26uh whereas K as you see here penalizes
  339. 15:29uh those choices in which you uh sell
  340. 15:33very very fast because if you sell very
  341. 15:35very fast you are diminishing the
  342. 15:37effective price for your good and
  343. 15:40therefore you are diminishing the total
  344. 15:42wealth that you are making
  345. 15:44so this is just to point out that Phi A
  346. 15:47and K are a little bit in competition so
  347. 15:51this would want you to sell fast
  348. 15:55and this would want you to sell
  349. 15:58not so fast let's say
  350. 16:03so the problem is not uh totally trivial
  351. 16:07okay so having said this what we can do
  352. 16:10now is to try to derive uh Hamilton
  353. 16:13Jacobi Batman equation along the same
  354. 16:16lines
  355. 16:17okay uh
  356. 16:20of lecture four
  357. 16:25so now
  358. 16:29but why is it cut
  359. 16:31my video
  360. 16:34okay
  361. 16:38okay so let's
  362. 16:40try to derive this Hamilton Jacobi
  363. 16:43Batman equation
  364. 16:46so to do this I will introduce uh let's
  365. 16:49say just for notation let me call small
  366. 16:53y a particular value for the vector for
  367. 16:56the random variable Capital wiser so
  368. 16:59this will be the vector given by small
  369. 17:02Q's Molex
  370. 17:03and small s
  371. 17:06so these are my state variables
  372. 17:08and let me introduce as it was done in
  373. 17:12lecture four the so-called cost to go
  374. 17:18okay
  375. 17:19which is a function V of time and of a
  376. 17:25particular configuration of of my system
  377. 17:27at the time T and in general so what we
  378. 17:30are gonna do in this first part as I
  379. 17:32said is to work at fixed value of this
  380. 17:35function I'm one of the most B so we are
  381. 17:38not assuming that this comes from
  382. 17:40interaction but just that somebody gives
  383. 17:41you uh this function and then you try to
  384. 17:44solve the optimization problems for
  385. 17:46these dynamical system so this is why
  386. 17:48there will always be a dependence on
  387. 17:51this fixed function mu of T in whatever
  388. 17:53I'm going to do in this first part
  389. 17:56and what is the definition of this cost
  390. 17:58well well this is the soup over
  391. 18:00the velocity
  392. 18:02t
  393. 18:04at any later time of the expectation
  394. 18:07value of my cost function up there
  395. 18:12from uh
  396. 18:14so as you see in the way that I wrote
  397. 18:17so this is an expectation value over the
  398. 18:19noise it's an average over the noise and
  399. 18:21I wrote the cost function so in
  400. 18:23Principle as I say this is a function of
  401. 18:26the whole uh let's say trajectory for
  402. 18:28your vector Y at any time but I'm
  403. 18:32indicating in here only the dependence
  404. 18:34on the initial condition so this is the
  405. 18:36cost that you get starting at time t 0
  406. 18:39from a given configuration let's say y0
  407. 18:43and therefore what I have in here is uh
  408. 18:46is the following so I assume that I have
  409. 18:49some time T that is larger than zero but
  410. 18:52smaller than capital T and I assume that
  411. 18:55I know uh what is the optimal strategy
  412. 18:58to follow from that time T
  413. 19:00onwards and this defines precisely my uh
  414. 19:04my cost to go
  415. 19:06so just to repeat
  416. 19:09a little bit the sketch
  417. 19:13of the lecture
  418. 19:15the idea is as follows so you have time
  419. 19:19you have your final time capital T
  420. 19:23and then you assume that you know how to
  421. 19:27solve the problem at any time so this is
  422. 19:29zero at any time late larger than this T
  423. 19:33here so in this region you assume that
  424. 19:35you know
  425. 19:38what is the optimal strategy to follow
  426. 19:40so what is the cost to go and you know
  427. 19:41this for any possible
  428. 19:44initial value at a time a small T so in
  429. 19:48in the lecture of course the problem was
  430. 19:50formulated in terms of a one-dimensional
  431. 19:53function here we have a vector so let me
  432. 19:55draw it like this
  433. 19:56uh
  434. 19:58so of course this is higher dimensional
  435. 20:00but the idea is that whatever is the
  436. 20:03particular value of the vector y s time
  437. 20:05T you know what you have to do from time
  438. 20:08T onwards so you know what is the
  439. 20:10velocity that optimizes uh that gives
  440. 20:13you the optimal strategy up to the final
  441. 20:16time
  442. 20:17and the question is once I know this for
  443. 20:20any particular initial point it's time T
  444. 20:23can I derive an equation that tells me
  445. 20:27what I should do in the little time
  446. 20:30interval which is between T minus DT and
  447. 20:33N time t
  448. 20:36and that is that to choose the optimal
  449. 20:39strategy in this user-time interval I
  450. 20:41have to usually if you remember from the
  451. 20:44lecture I always have to compensate
  452. 20:46between two things
  453. 20:47so first of all I told you that we know
  454. 20:49how to solve the problem for larger
  455. 20:51times
  456. 20:52so we know the value of the cost to go
  457. 20:55for any particular choice of why and
  458. 20:58therefore for instance we know what is
  459. 21:00the best point where to start from that
  460. 21:02would optimize our gain at the final
  461. 21:05time t
  462. 21:06but then we assume that at time T minus
  463. 21:09DT we are in some particular initial
  464. 21:12condition some particular point and it
  465. 21:15might be very costly to go uh from that
  466. 21:17particular point to the initial
  467. 21:19condition at time T which optimizes your
  468. 21:22your total gain because there is some
  469. 21:24cost Associated for instance to moving
  470. 21:27much into this small interval DT so you
  471. 21:30always have to compensate between the
  472. 21:32extra costs associated with movement in
  473. 21:36this small step and again that you would
  474. 21:38have from the final point that you reach
  475. 21:41with this movement up to the final time
  476. 21:44and this is what gives you an
  477. 21:46optimization equation which is which is
  478. 21:50not totally trivial
  479. 21:52so let's see this and uh just a reminder
  480. 21:55so in the in the lecture the cost which
  481. 21:58was Associated to this small step was
  482. 22:00essentially uh due to the elastic term
  483. 22:03in here things will be a little bit
  484. 22:04different but let me show this
  485. 22:07concretely
  486. 22:09okay so to derive this uh Hamilton
  487. 22:11Jacobi Bellman I will do
  488. 22:15introduce
  489. 22:17just for the sake of notation so I will
  490. 22:20introduce
  491. 22:23uh I will call the Velocity in this at
  492. 22:27this time T minus DT which is what we
  493. 22:29want to optimize over I will just call
  494. 22:32it U to simplify the notation
  495. 22:35and then I will assume and I will cause
  496. 22:37the noise
  497. 22:38in this interval T minus DT simply by
  498. 22:42ETA
  499. 22:44um writing
  500. 22:46and we can see what you're writing
  501. 22:48you're right but I don't know why okay
  502. 22:51wait
  503. 22:54ah now I see because I'm not moving
  504. 22:58the camera
  505. 23:01okay
  506. 23:06now you see it
  507. 23:09foreign yes okay
  508. 23:13so I was just introducing I mean I just
  509. 23:15want to drop this dependence on T minus
  510. 23:18DT and I will assume that if I start at
  511. 23:24a point why
  512. 23:26no let me write it like this so if I am
  513. 23:28at a point Y at time T minus DT
  514. 23:33at time T I will be at a given point
  515. 23:38y plus b y
  516. 23:44and this b y will depend on what well it
  517. 23:47will depend both on the velocities that
  518. 23:50I choose in this small interval DT and
  519. 23:53and it will also depend on the noise uh
  520. 23:56in this small intervality and so I will
  521. 23:58try to solve an optimization problem for
  522. 24:00this velocity in the interval DT
  523. 24:02averaging over the noise in this small
  524. 24:05interval DP so I'm just repeating what
  525. 24:07was done in the lecture
  526. 24:10and so to derive this equation what we
  527. 24:13have to do so does it fit in here
  528. 24:17so what I can do
  529. 24:21is to try to write an expression for the
  530. 24:25cost to go
  531. 24:27at the previous time P minus BT
  532. 24:31so V at T minus DT assuming that I am at
  533. 24:35the point Y at P minus V T So Y is a
  534. 24:38variable so I will use it uh
  535. 24:42here I use it for time T but now let me
  536. 24:46assume that y identifies my position at
  537. 24:48the previous time and let me drop the
  538. 24:51dependence on mu p in the following
  539. 24:55so what would be this equal to well
  540. 24:58exactly as we had in the lecture so as I
  541. 25:01said I want to optimize over my velocity
  542. 25:03in the legal interval you
  543. 25:06the uh total cost so the total cost will
  544. 25:09have two contributions
  545. 25:11there is one contribution that comes
  546. 25:13from the extra cost Associated to this
  547. 25:16small step that I'm doing and this is
  548. 25:19proportional
  549. 25:20to this integral in here
  550. 25:24that's given that the time intervalism
  551. 25:27is very small I can approximate as minus
  552. 25:31Phi Q squared
  553. 25:32DT
  554. 25:35where Q is one of the components of this
  555. 25:37Vector y the first one
  556. 25:40and then the remaining cost is encoded
  557. 25:43in uh in the function that I assume that
  558. 25:46I already know so it is encoded in the
  559. 25:48cost to go from time T except that I
  560. 25:52have to compute this cost to go and to
  561. 25:55the point that I reach starting from
  562. 25:57point Y at the previous time and
  563. 25:59applying the given velocity U so what
  564. 26:02this means is that in here I will have
  565. 26:04my function V at time D but computed at
  566. 26:09y plus d y
  567. 26:12and Y plus d y is is noisy so it depends
  568. 26:15as I said both on this small U that I'm
  569. 26:18optimizing over but it also depends on
  570. 26:20the noise which acts in the small
  571. 26:22interval so what I have to do is to
  572. 26:24average uh that function there with
  573. 26:27respect to this noise in the small time
  574. 26:30interval
  575. 26:32okay and now exactly as we did in the
  576. 26:36lecture the the way to proceed is to
  577. 26:38give an expansion a failure expansion
  578. 26:41for this function here and then average
  579. 26:43over the noise
  580. 26:48so let me do it in here
  581. 26:54what do you see so we need
  582. 26:57this which I think you still see okay
  583. 27:17but now I have to received a little bit
  584. 27:42okay
  585. 27:46so let's try to expand and we want to
  586. 27:49expand to linear order in DT so this is
  587. 27:52V of Y plus v y
  588. 27:56uh and in order to uh to do the
  589. 27:58expansion we should remember what are
  590. 28:00the equations so remember that Y is
  591. 28:03the vector of all our three variables
  592. 28:05which satisfy some equations which are
  593. 28:07just erased
  594. 28:09but you have them written so let me do
  595. 28:12this uh Taylor expansion here so the
  596. 28:15first term will be just real
  597. 28:17d y of course
  598. 28:20and then I have a term which is the
  599. 28:22partial derivative of my function V with
  600. 28:25respect to the first uh sorry I forgot
  601. 28:27the DT
  602. 28:31I hope that you see it there is a small
  603. 28:33bit in here
  604. 28:36Plus
  605. 28:37DV over DQ and here I would like to put
  606. 28:41Q dot times DT right
  607. 28:45so the derivative of Q over time times
  608. 28:47uh the DT and the derivative of Q over
  609. 28:50time we have it from the equation so
  610. 28:52this is just given by U times DT where U
  611. 28:54is the velocity in the small interval DT
  612. 28:59then we have to take the derivative with
  613. 29:00respect to the variable X
  614. 29:03foreign
  615. 29:05x dot if you want so the time derivative
  616. 29:08of x and this was minus
  617. 29:10the velocity times the price
  618. 29:14plus k u
  619. 29:18okay
  620. 29:19and then there is the derivative with
  621. 29:22respect to S will be V over DS
  622. 29:25and the equation for S dots sorry I keep
  623. 29:28forgetting the DT
  624. 29:33there is always a DT so the equation for
  625. 29:35s dot was what so there was the Theta
  626. 29:38term
  627. 29:39we will see
  628. 29:41times DT let me put it at the end so
  629. 29:44there was Theta mu of t
  630. 29:51uh this one you're right
  631. 29:55exactly
  632. 29:57thanks
  633. 29:59so here we have Theta mu and then there
  634. 30:02was a noise term so let me write it like
  635. 30:04this so that was Sigma times
  636. 30:08each of the DT
  637. 30:12and so let me put a detain here
  638. 30:16okay
  639. 30:18I'm becoming messy sorry
  640. 30:21um and here we have so remember this is
  641. 30:24White Noise I I didn't specify but I'm
  642. 30:26assuming that this is quite nice so
  643. 30:28remember what we discussed last last
  644. 30:30time namely that this noise in the in
  645. 30:33the limit of uh correlation function
  646. 30:35which goes to a Delta function ease of
  647. 30:37the order of 1 over square root of DT
  648. 30:41and therefore the product it of T times
  649. 30:44DT is of the order of square root of BT
  650. 30:47and this tells us that if we want all of
  651. 30:50the contributions which are awarded DC
  652. 30:52we also need to take the term which
  653. 30:55comes from the square of this uh factor
  654. 30:58in here and this will come with the
  655. 31:00second derivative
  656. 31:02of V with respect to the variable s
  657. 31:07right because then this will be
  658. 31:09multiplied essentially by uh the square
  659. 31:13of this equation of motion for S and let
  660. 31:16me just keep the contribution that is
  661. 31:18awarded DT which is
  662. 31:20of the form
  663. 31:22so let me write it like this
  664. 31:26ETA Square Times DT square plus higher
  665. 31:29order terms that we will neglect when
  666. 31:31deriving the uh
  667. 31:33when going to the continuous limit
  668. 31:36so now what I do is I take the average
  669. 31:39of this expression with respect to the
  670. 31:41noise
  671. 31:46okay both of the left and the right hand
  672. 31:49sides
  673. 31:50so this was what I called eat them
  674. 31:52before it's the noise which acts in the
  675. 31:55little time intervals and you see that
  676. 31:57once I take the average so this is
  677. 31:59independent this is independent this is
  678. 32:00independent the average of these uh
  679. 32:05is equal to zero because the noise has
  680. 32:07zero average whereas the average of this
  681. 32:10quantity in here is precisely equal to
  682. 32:16DT so it will give me the uh the
  683. 32:20contribution that I'm looking for to uh
  684. 32:22to linear organity so this is exactly as
  685. 32:25as it was in the lecture
  686. 32:27and once I have this what shall I do
  687. 32:30well what I can do is
  688. 32:32to
  689. 32:34um
  690. 32:34where is it
  691. 32:36to go back to the expression in there
  692. 32:38and substitute uh to the right hand side
  693. 32:41what I just derived so what I'm
  694. 32:44left with is V of T minus b t
  695. 32:48y
  696. 32:50let me bring this to the other side so
  697. 32:52that I have minus
  698. 32:54V of t y
  699. 32:57and then on the right hand side I have
  700. 32:59the sup
  701. 33:01over you
  702. 33:03of the first term which is untouched
  703. 33:07so now I have c q squared and the DPI
  704. 33:11will collect it at the end actually let
  705. 33:14me divide everything by DT
  706. 33:16directly
  707. 33:17so these terms come from uh the cost in
  708. 33:21the leader interval DT and then I have
  709. 33:23to plug my expansion so I have
  710. 33:25DV over DQ
  711. 33:28times U
  712. 33:30minus DV over DX
  713. 33:34you
  714. 33:36S Plus k u
  715. 33:39okay and then I add
  716. 33:42DV over the S Theta
  717. 33:45mu of t
  718. 33:47Plus
  719. 33:49Sigma Square over 2 this square of V so
  720. 33:53the contribution of the noise
  721. 33:55and that's it
  722. 33:57okay
  723. 33:59and of course if you if I now take the
  724. 34:01limit of uh DT going to to 0 what I get
  725. 34:05in the left hand side is nothing but
  726. 34:09minus the time derivatives
  727. 34:12of my cost to go with respect to teams
  728. 34:17okay so this is our form for today of
  729. 34:21the uh Hamilton
  730. 34:24Jacobi Bellman equation
  731. 34:27which is an equation where your time
  732. 34:29derivative has the minus sign in front
  733. 34:32as you remember from the lecture and
  734. 34:35were so this is no longer as we are used
  735. 34:37to we are used to initial value problems
  736. 34:40where we specify the value of the
  737. 34:42function at time zero and then we want
  738. 34:43to solve forward in times whereas what
  739. 34:46we have in here is more a boundary value
  740. 34:49problem where we specify the value of
  741. 34:51the function at time capital T and then
  742. 34:53we want to solve backwards in time and
  743. 34:55get the solution at time zero so what is
  744. 34:58the boundary value what is the value of
  745. 35:01the function at
  746. 35:03capital T
  747. 35:05well this we know it from the expression
  748. 35:08for the uh for the function G that
  749. 35:11unfortunately I erased but if you
  750. 35:13remember the function G had a cost which
  751. 35:16was Associated precisely to the value of
  752. 35:18this function at the final time plus
  753. 35:20sorry s again which is associated to
  754. 35:23that plus a cost and the cost is an
  755. 35:25integral which goes from T up to capital
  756. 35:28T so the integral Advantage is when I
  757. 35:30compute it at the lower Edge equal to
  758. 35:33capital T so this is just to say that
  759. 35:35the boundary value in here is just given
  760. 35:38by X
  761. 35:39flash Q
  762. 35:42s minus A2
  763. 35:46which is the value of the function G
  764. 35:49evaluated at a vector y so this is the
  765. 35:51boundary condition
  766. 36:02okay
  767. 36:04and now what we have to do is to try to
  768. 36:06solve this equation for the cost to go V
  769. 36:10and we try to do this and I don't
  770. 36:13remember if this is 0.2
  771. 36:16probably yes
  772. 36:19um
  773. 36:23yes so we try to do it with an answer so
  774. 36:27we we just
  775. 36:28[Music]
  776. 36:29um
  777. 36:30try to get to to guess a little bit what
  778. 36:33is the shape of this function B at any
  779. 36:35time and the guess comes from the
  780. 36:38structure that you see at the final time
  781. 36:40so as you see the your boundary
  782. 36:41condition is of the form
  783. 36:43X Plus QX
  784. 36:46minus A2 squared
  785. 36:50so what we can assume or try to guess
  786. 36:52this is an asset is that at any time T
  787. 36:55our function V has in some sense the
  788. 36:58stature so there is this linear term
  789. 37:00plus some genetic function of Q so we do
  790. 37:03the following answer which as we see
  791. 37:06we will see we simplify the calculation
  792. 37:09and now I hope that you see it
  793. 37:12so we assume that our V of t y can be
  794. 37:16written as
  795. 37:18X Plus Qs
  796. 37:21plus some generic function of time and
  797. 37:24only of q that I call Omega
  798. 37:27of d q
  799. 37:30and these answers is good because it
  800. 37:33allows us as I will show in a minute to
  801. 37:36reformulate the problem as more or less
  802. 37:40a problem in terms of uh of Q okay so
  803. 37:44let's see this uh how this works
  804. 37:48so what I have to do is just to replace
  805. 37:50this answer into my equation and see
  806. 37:54I think simplify a bit
  807. 37:57okay
  808. 38:02this is just algebra
  809. 38:15so on the left hand side I will just
  810. 38:18have minus the derivative of this
  811. 38:21forming a function with respect to time
  812. 38:23which is the only thing that depends on
  813. 38:24time
  814. 38:25and on the right well I have terms which
  815. 38:29do not depend on the velocity use so let
  816. 38:31me write them
  817. 38:33separately so there is this High then
  818. 38:35there is
  819. 38:37uh
  820. 38:39the Theta term
  821. 38:41DV over Dash
  822. 38:45your steep
  823. 38:47and perhaps already in here so you see
  824. 38:51if we make Visions that's the only
  825. 38:53dependence on S is linear so DV over
  826. 38:55Dash gives me just a factor of Q so let
  827. 38:58me write it here
  828. 39:01okay
  829. 39:02plus there should be another term up
  830. 39:05there which does not depend on you that
  831. 39:06is this second derivative but because we
  832. 39:09are making designs that which is linear
  833. 39:11we see that the second derivative
  834. 39:13vanishes so I don't have any
  835. 39:15contribution in this particular example
  836. 39:18which is proportional to uh to Sigma
  837. 39:20square and let me comment about this in
  838. 39:22a minute but before
  839. 39:25let's write what remains so what remains
  840. 39:27is the soup over you
  841. 39:30of what
  842. 39:32a few times the derivative with respect
  843. 39:34to q that gives me
  844. 39:36S Plus the derivative of w with respect
  845. 39:40to Q's we have a factor of U
  846. 39:42t w over DQ
  847. 39:45and then we'll have a factor of U times
  848. 39:47s
  849. 39:48but the factor of U times x comes us
  850. 39:51with the contribution the first
  851. 39:53contribution from the derivative over X
  852. 39:56which is simply equal to one so you see
  853. 39:59that the factor U times s will cancel
  854. 40:00and what I'm left with in here is minus
  855. 40:04okay
  856. 40:07U squared
  857. 40:10and that's it
  858. 40:13okay
  859. 40:16so our equation is now quite uh simple
  860. 40:19or simpler and we can directly solve for
  861. 40:24uh the optimal value of U so if we
  862. 40:26maximize this quadratic function what we
  863. 40:29get out of this is that U optimal
  864. 40:33will just be given by 1 over 2K
  865. 40:37times
  866. 40:39V Omega over the Q
  867. 40:45and if we
  868. 40:47now substitute this value of U optimal
  869. 40:50into this expression
  870. 40:52we see that the contribution in here is
  871. 40:54just
  872. 40:55one over four K times
  873. 40:58the Omega over DQ
  874. 41:01to the power 2.
  875. 41:02yes
  876. 41:05okay and this is the final form within
  877. 41:07our answer of the Hamilton Jacobi byman
  878. 41:10equation and let me add two comments
  879. 41:14which are actually point three of the
  880. 41:16exercise I think
  881. 41:21so the first comment is that this
  882. 41:25equation is a little bit different with
  883. 41:26respect to the one that was given in the
  884. 41:28lecture and the difference is that there
  885. 41:31is no diffusion term so the diffusion
  886. 41:33term would correspond in here to a
  887. 41:35second derivative of our function
  888. 41:38Omega and here the second derivative
  889. 41:40disappears because so in general the
  890. 41:43second derivative comes from the noise
  891. 41:45so from higher order contributions
  892. 41:48due to the noise as we saw in here
  893. 41:50and we are killing this contribution in
  894. 41:53here because the noise is only coupled
  895. 41:55to the price viable and we are making an
  896. 41:58assets which is linear in the price
  897. 42:00variables so in this particular example
  898. 42:02what we find is that our optimal
  899. 42:05strategy
  900. 42:09which will be the velocity
  901. 42:14does not depend
  902. 42:18on what
  903. 42:21people calling in the economics language
  904. 42:23the volatility so the fluctuations of of
  905. 42:26the price
  906. 42:30foreign so at least one among the many
  907. 42:34parameters that we have simplifies uh
  908. 42:36once we make and goes away once we do
  909. 42:39this onsets and the second comment is
  910. 42:41that there is no diffusion term so this
  911. 42:43is an equation which is uh non-linear
  912. 42:46because you have a derivative square but
  913. 42:48which is first order in the derivative
  914. 42:50so there is no
  915. 42:52diffusion term
  916. 42:57so it's a little bit simpler with
  917. 42:58respect to the one given in the lecture
  918. 43:01and indeed we can solve for for it
  919. 43:04explicitly
  920. 43:06as I will show right now
  921. 43:11okay
  922. 43:24so now what we can do is try to solve
  923. 43:26directly for this function Omega of Q
  924. 43:30and this is a calculation that can be
  925. 43:32done explicitly I will not do all of the
  926. 43:34steps but
  927. 43:38I will just highlight
  928. 43:40some things which are perhaps more
  929. 43:42interesting
  930. 43:45and so the first thing that helps you
  931. 43:49when you try to solve it
  932. 43:55is again so what we can do is try to so
  933. 43:59if you look at the structure of the
  934. 44:00equation I don't know if this is still
  935. 44:02visible yes
  936. 44:05so what one can do in general is try to
  937. 44:08write down so you have any function
  938. 44:11which depends on two parameters times
  939. 44:13and Q you can try to write down some
  940. 44:16uh let's say power expansion in your
  941. 44:19variable queue
  942. 44:20okay
  943. 44:21which in general has some coefficients
  944. 44:24that will depend
  945. 44:26on time and then you have q to the n
  946. 44:32so this is announced that's again that
  947. 44:34you can make in general but now if you
  948. 44:36look at the structure of our equations
  949. 44:37you realize that things are actually
  950. 44:40very simple so you can truncate this
  951. 44:43expansion and you will get only a few
  952. 44:46coefficients that you have to solve for
  953. 44:48and the reason is that so you see on the
  954. 44:50right hand side I have only terms which
  955. 44:53depend on at most on Q Square
  956. 44:55and then I have the derivative of this
  957. 44:58function with respect to Q to the power
  958. 45:012. and so you see that if I truncate
  959. 45:04this expansion to the power Q Square
  960. 45:06what I get on the right hand side are
  961. 45:09only terms which are at most of order Q
  962. 45:11squared and on the right hand side I
  963. 45:14will always have terms which are at most
  964. 45:16of the order at which I truncate and so
  965. 45:18I can close the equation just uh
  966. 45:21stopping to say n equal to
  967. 45:25so what this means is that
  968. 45:28I will write this in the following form
  969. 45:30so there will be an h0 of t
  970. 45:33plus H1 of T Q and then just for
  971. 45:37Simplicity let me put a minus in front
  972. 45:41of the quadratic term
  973. 45:46Q squared and this is in us so if I plug
  974. 45:49now this expression into my equations so
  975. 45:53you see on the left hand side I will
  976. 45:55have just the derivatives of the
  977. 45:56coefficients with respect to time on the
  978. 45:59right hand side I will have several
  979. 46:00terms and then I can equate all of the
  980. 46:03terms which correspond to the same
  981. 46:05powers
  982. 46:06of Q and if I do this I will get
  983. 46:08equations for this coefficients uh
  984. 46:11depending on T so I'll give you just the
  985. 46:13form of the resulting equation this is
  986. 46:16easy to uh to derive
  987. 46:20so the equation for h0 is of the
  988. 46:23following form
  989. 46:25the derivative of h0 will be equal to
  990. 46:28minus
  991. 46:29H1 of V over 2K
  992. 46:33then I have a
  993. 46:36the equation for H1
  994. 46:41which is minus Theta times this function
  995. 46:44mu of t
  996. 46:47plus 1 over 2 K
  997. 46:50H1 of t h two of t
  998. 46:55this comes from the square on the right
  999. 46:57hand side
  1000. 46:59if you do the calculation and then I
  1001. 47:01have the third equation for H2
  1002. 47:04foreign
  1003. 47:10Plus
  1004. 47:121 over 2K
  1005. 47:15H2
  1006. 47:16Square
  1007. 47:17depending on t
  1008. 47:20okay so this is a system of equation now
  1009. 47:23of course I also write a boundary uh
  1010. 47:25term which gives me conditions for these
  1011. 47:29functions at the time capital T so
  1012. 47:32remember that due to our answer
  1013. 47:36Omega of capital T Q
  1014. 47:39will be simply equal to minus A2 square
  1015. 47:42if you go back to the equations that we
  1016. 47:44wrote before and so this means that at
  1017. 47:47time
  1018. 47:48capital t h 0
  1019. 47:51and H1
  1020. 47:55will be equal to 0 whereas H2
  1021. 48:00is equal to minus 2A
  1022. 48:07no plus 2A because I have a minus here
  1023. 48:11foreign
  1024. 48:13okay and now given this what one has to
  1025. 48:16do is to solve uh somehow this system of
  1026. 48:18equations for the coefficients so what I
  1027. 48:21want to do in the next uh half an hour
  1028. 48:24maybe are just two things
  1029. 48:26so the first thing is that if you look
  1030. 48:29at the factor of this equation you see
  1031. 48:31that equation three
  1032. 48:32is closed in the sense that it only
  1033. 48:35depends on H2 so we can solve it
  1034. 48:37directly and I just want to show how to
  1035. 48:40solve this equation by a separation of
  1036. 48:42variables because this is something that
  1037. 48:44comes up uh came up several times in the
  1038. 48:47lecture so we can just do this exercise
  1039. 48:50once together in here and then what you
  1040. 48:54would have to do is to solve for h0 and
  1041. 48:56H1 and these are two coupled equations
  1042. 48:58where the variables appear in both of
  1043. 49:01them and most importantly you have now
  1044. 49:04this function U of T so so far we said
  1045. 49:06okay let's assume that mu of T is a
  1046. 49:09fixed function and we try to look for a
  1047. 49:12solution at fixed value of mu of T but
  1048. 49:14now you see that to solve this uh this
  1049. 49:17system of equations it would be nice to
  1050. 49:19specify what is this function mu of T
  1051. 49:22and this brings us to this idea of uh
  1052. 49:25interacting systems and meaningful games
  1053. 49:27so I will give the idea for that and
  1054. 49:29then perhaps leave most of the
  1055. 49:32calculations to uh to you as an exercise
  1056. 49:36okay so this is the plan so let's start
  1057. 49:38by solving equation three so this is a
  1058. 49:40parenthesis if you want
  1059. 49:43um
  1060. 49:45just to discuss together this idea of
  1061. 49:49separation of variables which
  1062. 49:51comes up when you want to solve for the
  1063. 49:53stationary state of Planck for
  1064. 49:55instance and it was also given I think
  1065. 49:57today in the lecture uh several times so
  1066. 50:02let's do an uh the tour
  1067. 50:08for example actually
  1068. 50:18okay you still see it but
  1069. 50:22that you have to do this
  1070. 50:26okay
  1071. 50:27so there is as follows we have a
  1072. 50:29differential equation on the left hand
  1073. 50:30side you have dh2 over DT so let's
  1074. 50:33rewrite it in differential form so I can
  1075. 50:37write that dh2 is equal to what I have
  1076. 50:42on the right hand side so minus 2 5
  1077. 50:45Plus
  1078. 50:47H to square over 2K
  1079. 50:51times PT
  1080. 50:53foreign
  1081. 50:58of 2K
  1082. 51:00and so here I have minus 4 K Phi
  1083. 51:04okay
  1084. 51:06and now you see that I have here a
  1085. 51:08product of something which depends only
  1086. 51:11on H2 times the differential in DT so
  1087. 51:14what I can do is to bring this product
  1088. 51:16to the other side
  1089. 51:18and get to the other side so that I get
  1090. 51:22a left hand side which depends only on
  1091. 51:24H2
  1092. 51:26the H squared minus 4
  1093. 51:30K Phi
  1094. 51:32and the right hand side depends only on
  1095. 51:34t
  1096. 51:36through the DT
  1097. 51:38okay
  1098. 51:40and once I have this what can I do well
  1099. 51:43I can integrate both sides
  1100. 51:46so I integrate the right hand side with
  1101. 51:49respect to T from a given time P0
  1102. 51:53up to a Time
  1103. 51:55uh
  1104. 51:56what
  1105. 51:58p in general
  1106. 51:59and the left hand side I integrated with
  1107. 52:03respect to the corresponding value or
  1108. 52:05between the corresponding value of the
  1109. 52:07function H2
  1110. 52:08so from H2
  1111. 52:10of t 0 to
  1112. 52:12H2 of t
  1113. 52:15so I hope you see it maybe it's small
  1114. 52:17okay
  1115. 52:19now what is the right hand side well
  1116. 52:21okay let me first do the left hand side
  1117. 52:26so the left hand side is an integral
  1118. 52:28that I know how to do so
  1119. 52:31it's
  1120. 52:32anarchical tangent hyperbolic
  1121. 52:36this you can check
  1122. 52:40uh okay we need the equation again but
  1123. 52:44never mind
  1124. 52:52so you can check that the following
  1125. 52:54holds that the integral
  1126. 52:57in the x of x square minus a where a is
  1127. 53:03some positive constant
  1128. 53:05so for a larger than 0 this is given by
  1129. 53:08minus
  1130. 53:091 over square root of a times
  1131. 53:15the hyperbolic
  1132. 53:18the inverse of the hyperbolic tangent
  1133. 53:20evaluated at x divided
  1134. 53:23by square root of a so this is just an
  1135. 53:26example it allows me to compute the last
  1136. 53:2910 sides so in particular it tells me
  1137. 53:32that
  1138. 53:36the hyperbolic Arc sound of
  1139. 53:39my function H2 of t
  1140. 53:43divided by square root of 4K C which is
  1141. 53:47what plays the role of a
  1142. 53:49is equal to minus well now let me do it
  1143. 53:53correctly I think there is a Phi over k
  1144. 53:56e
  1145. 53:59Plus
  1146. 54:01e so C is a constant which incorporates
  1147. 54:03if you want P0 and also what you would
  1148. 54:07get so what we will get from the left
  1149. 54:09hand side is the value of the integrand
  1150. 54:12sorry of the integral at H2 minus the
  1151. 54:15value at H2 of t 0 which is a constant
  1152. 54:17so I can absorb everything into this
  1153. 54:20constant T and what I get out of this
  1154. 54:22equation is that
  1155. 54:24by inverting the hyperbolic arctan I
  1156. 54:28will get that this is
  1157. 54:29simply given by square root of
  1158. 54:334 K Phi
  1159. 54:35so I go a little bit fast but that's
  1160. 54:38just because it's
  1161. 54:39it's not so relevant
  1162. 54:42just to give you an idea pi over KT
  1163. 54:45Flash
  1164. 54:47my constant C
  1165. 54:49that is now
  1166. 54:51it's the same constant okay and once I
  1167. 54:55have this how do I fix C well remember
  1168. 54:58that we had an information about the
  1169. 55:00boundary value of this function so we
  1170. 55:02know that H2
  1171. 55:04at time capital T has to be equal to 2
  1172. 55:08times a
  1173. 55:10and therefore what I have to do is to
  1174. 55:12compute this quantity at Capital time T
  1175. 55:14and then solve for C and I will get an
  1176. 55:18expression for C which depends on on
  1177. 55:21Capital a okay so in particular
  1178. 55:24you get the C is
  1179. 55:27square root of C over K times capital T
  1180. 55:30Plus
  1181. 55:36a over square root of K Phi okay so this
  1182. 55:39you can check and afterwards it is just
  1183. 55:42algebra and this gives you the solution
  1184. 55:45for
  1185. 55:47the coefficient H2
  1186. 55:50and somehow the only thing that I wanted
  1187. 55:52to uh to to do is to discuss an example
  1188. 55:55for this separation of variables which
  1189. 55:58as I said comes up several times
  1190. 56:01uh in this type of problems
  1191. 56:04okay now we have a H2 and so we have
  1192. 56:07solved the equation three here so now
  1193. 56:09let's go to uh this problem of trying to
  1194. 56:12solve equation one and equation two uh
  1195. 56:15for one particular choice of mu of T
  1196. 56:18which comes from the interactions
  1197. 56:20and this is part two
  1198. 56:24of the exercise
  1199. 56:30it's a square yes
  1200. 56:32so the question very much is that there
  1201. 56:35is a squaring here thanks that I forgot
  1202. 56:39people see it
  1203. 56:41I hope so
  1204. 56:45okay
  1205. 56:48now let's go to part two
  1206. 56:57and let's try to be a bit more precise
  1207. 57:00about the idea that I sketched before
  1208. 57:03that now we want to choose uh this New
  1209. 57:06York team
  1210. 57:07to be somehow the average of all of the
  1211. 57:10velocities of all of the other investors
  1212. 57:13which are in the market
  1213. 57:16and we want to do it with the reasoning
  1214. 57:19that is very close to main field so this
  1215. 57:21is let me summarize
  1216. 57:23the point of
  1217. 57:26uh
  1218. 57:28of 0.5 of the exercise
  1219. 57:32and various the following so suppose
  1220. 57:34that now we have many investors
  1221. 57:36okay labeled by uh as I say by a so you
  1222. 57:41will have
  1223. 57:42this Vector a
  1224. 57:45uh which labels my investors you will
  1225. 57:47have a solution for the optimal velocity
  1226. 57:50uh for each of these investors and you
  1227. 57:54want to Define mu as an average over all
  1228. 57:57of the others velocities
  1229. 58:00that you get from the corresponding
  1230. 58:02equations
  1231. 58:03so how do you do this in a meanful
  1232. 58:05scheme well let me sketch it very
  1233. 58:08briefly so the idea is that you start by
  1234. 58:10choosing one
  1235. 58:15representative
  1236. 58:20agent
  1237. 58:24let me label
  1238. 58:26her by a one specific value of a so this
  1239. 58:31is a little bit like when you do easy
  1240. 58:32mean field you choose one side that you
  1241. 58:35assume to be representative of all of
  1242. 58:37the sides
  1243. 58:38and then once you have chosen this agent
  1244. 58:41you assume
  1245. 58:43that you know
  1246. 58:44uh
  1247. 58:49that you know
  1248. 58:53this New York tea
  1249. 58:55that is given by the behavior of all of
  1250. 58:58the other agents so in sometimes you
  1251. 58:59know you assume that you know what all
  1252. 59:02of the other agents are doing and you
  1253. 59:03solve the problem for your
  1254. 59:05representative agent given these
  1255. 59:08particular value of Mufti which is
  1256. 59:10precisely what we did in part one so if
  1257. 59:13you do this you get the results
  1258. 59:16that we get so you get the optimal
  1259. 59:18velocity now for our particular agent a
  1260. 59:23given value of mu T we can write it as
  1261. 59:281 over 2K
  1262. 59:30the derivative of this function Omega
  1263. 59:32with respect to q and this is a function
  1264. 59:34of p q
  1265. 59:36at the given u t
  1266. 59:39so you assume you know what everybody
  1267. 59:41else is doing you use this information
  1268. 59:43to solve for the velocity of your
  1269. 59:46particular agent so if you want
  1270. 59:48thinking about easing you assume that
  1271. 59:51you know the magnetization of all of the
  1272. 59:52other sites this tells you what is the
  1273. 59:55effective field which acts on the
  1274. 59:57particular side that you are looking at
  1275. 59:59you solve for the magnetization of that
  1276. 1:00:02particular site at fixed value of the
  1277. 1:00:05field and then you have to impose
  1278. 1:00:06self-consistency
  1279. 1:00:08and so this is the step which is missing
  1280. 1:00:11here that is
  1281. 1:00:14impose
  1282. 1:00:16self-consistency meaning that
  1283. 1:00:18the results that you get is consistent
  1284. 1:00:22with your assumption on mu and namely
  1285. 1:00:24with the assumption that mu is the
  1286. 1:00:26average of this velocities so let me
  1287. 1:00:28write it down and then I will specify it
  1288. 1:00:30so the self-consistent equation in this
  1289. 1:00:33setting will correspond to saying that
  1290. 1:00:35mu of t
  1291. 1:00:36is what is an average
  1292. 1:00:40over if you want all of the
  1293. 1:00:43representative sites of the solution for
  1294. 1:00:47this particular site
  1295. 1:00:50that you get
  1296. 1:00:52that you got
  1297. 1:00:56a fixed value of new p
  1298. 1:01:00so you see that this is I hope you see
  1299. 1:01:02it now I will tell you what I mean
  1300. 1:01:05precisely by this average but before let
  1301. 1:01:08me stress so this is really a
  1302. 1:01:09self-consistent equation so it is an
  1303. 1:01:11equation in which it's an equation for
  1304. 1:01:13Mu of T in which mu of T depends appears
  1305. 1:01:17on both sides yes out of her screen ah
  1306. 1:01:21yes you're right
  1307. 1:01:23usual problem
  1308. 1:01:25thanks a lot guys for
  1309. 1:01:38okay
  1310. 1:01:41so you have Mufti both on the right and
  1311. 1:01:42then on the left hand side and you have
  1312. 1:01:45to solve for this function you'll see
  1313. 1:01:47knowing what is the velocity at fixed
  1314. 1:01:50profile from your team
  1315. 1:01:53so let me tell you how should we intend
  1316. 1:01:55this average with respect to all of the
  1317. 1:01:58other agents
  1318. 1:01:59so the way we can interpret it
  1319. 1:02:04is as follows
  1320. 1:02:16uh now I can write here
  1321. 1:02:20yes
  1322. 1:02:27so what is the average
  1323. 1:02:31well to make this average precise we can
  1324. 1:02:34think in the following way so as I said
  1325. 1:02:36we have many many agents and all of
  1326. 1:02:38those have a particular initial value of
  1327. 1:02:41their
  1328. 1:02:42inventory
  1329. 1:02:45q0
  1330. 1:02:46labeled by by the agents
  1331. 1:02:49and these initial values we may assume
  1332. 1:02:52that they are distributed so that there
  1333. 1:02:54is a probability
  1334. 1:02:55P0 of
  1335. 1:02:58of this distribution of initial uh
  1336. 1:03:02values for the inventors inventories
  1337. 1:03:05so what you want to sell or buy
  1338. 1:03:08and then we know that each of this agent
  1339. 1:03:12has its own velocity that determines the
  1340. 1:03:15time evolution of this quantity Q so if
  1341. 1:03:18you look
  1342. 1:03:19at the differential equation for Q and
  1343. 1:03:22we integrate it then you know that Q T
  1344. 1:03:24of a
  1345. 1:03:26is q0 of a plus
  1346. 1:03:29the integrals from t0 to T in the S of
  1347. 1:03:34your velocity
  1348. 1:03:36BS of a which depends
  1349. 1:03:40as we saw solving the optimal problem it
  1350. 1:03:42depends on your trajectory and in
  1351. 1:03:45General on your teeth
  1352. 1:03:47times DT that I'm integrating over uh in
  1353. 1:03:51here
  1354. 1:03:53okay
  1355. 1:03:56so this is the optimal solution
  1356. 1:04:05and then you see that if I have a
  1357. 1:04:06distribution for the initial value the
  1358. 1:04:08initial value of my inventory will
  1359. 1:04:11determine uh what is the optimal
  1360. 1:04:14solution together with all the other
  1361. 1:04:16parameters and this equation will tell
  1362. 1:04:18me that I will have also a distribution
  1363. 1:04:20at any time T So if this is a random
  1364. 1:04:23variable Q at any time will be itself
  1365. 1:04:25random variable with a given
  1366. 1:04:27distribution
  1367. 1:04:29pity of QT and so in some sense when I
  1368. 1:04:32say that we want to average over uh all
  1369. 1:04:36of these the investors so what I mean
  1370. 1:04:38with this average
  1371. 1:04:40that again you don't see with this
  1372. 1:04:43averaging here is essentially an average
  1373. 1:04:44with respect to uh to the state of the
  1374. 1:04:48system at any time assuming that we have
  1375. 1:04:50a given distribution of uh of the
  1376. 1:04:53initial uh inventory for all of our
  1377. 1:04:57agents
  1378. 1:04:59okay so this is how we should interpret
  1379. 1:05:01the self-consistent equation and now
  1380. 1:05:03let's see just very briefly
  1381. 1:05:07um
  1382. 1:05:08how to
  1383. 1:05:10finish and solve or at least let me
  1384. 1:05:14sketch
  1385. 1:05:15uh how the solution can be obtained
  1386. 1:05:20for this system of equations so let me
  1387. 1:05:23start from here
  1388. 1:05:27so to
  1389. 1:05:29to go on
  1390. 1:05:30we now need essentially another equation
  1391. 1:05:33for this mu of T to solve our system of
  1392. 1:05:37equations
  1393. 1:05:38and it is convenient to introduce
  1394. 1:05:42the quantity that I call E of t
  1395. 1:05:45which is the average in the senses
  1396. 1:05:47digest described
  1397. 1:05:50of
  1398. 1:05:51Q of P
  1399. 1:05:54so it's just the average with respect to
  1400. 1:05:56this distribution
  1401. 1:06:00and why is this nice to introduce well
  1402. 1:06:03the idea is that if I take the
  1403. 1:06:04derivative
  1404. 1:06:07of this language so let me say what is
  1405. 1:06:10this average so let's look at this
  1406. 1:06:12equation in here and take the average so
  1407. 1:06:14if I do this this will tell me that I
  1408. 1:06:18get a factor which is the average at
  1409. 1:06:19time 0. and then I have the integral I
  1410. 1:06:22bring the average inside the integral
  1411. 1:06:26so now t 0 I must mean it to be zero
  1412. 1:06:29and I will have the integral over DF
  1413. 1:06:32of the average of all my velocities
  1414. 1:06:35optimal velocity which depends
  1415. 1:06:38on Qs and on mu
  1416. 1:06:41okay
  1417. 1:06:45and this average is precisely what I
  1418. 1:06:47defined as to be equal to Mu of T
  1419. 1:06:50through my self-consistent equation so
  1420. 1:06:53this means that if I take the time
  1421. 1:06:54derivative of this quantity that I just
  1422. 1:06:57introduced this
  1423. 1:06:59so the time derivative of the constant
  1424. 1:07:01is zero and the time derivative will
  1425. 1:07:03just give me the integrands so it will
  1426. 1:07:06give me the average
  1427. 1:07:07of
  1428. 1:07:09my velocity at the time t
  1429. 1:07:13given mu of T that through the
  1430. 1:07:15self-consistent equations they want to
  1431. 1:07:17impose is just equal to Mu of t so if I
  1432. 1:07:21solve for this quantity is taking the
  1433. 1:07:23derivative I have this function mu of T
  1434. 1:07:26which is what appears in my system of
  1435. 1:07:29equations
  1436. 1:07:30so now to complete the system of
  1437. 1:07:31equation we just have to derive an
  1438. 1:07:34equation for this e of t
  1439. 1:07:37in here
  1440. 1:07:41okay
  1441. 1:07:44and before yeah
  1442. 1:07:50yeah and then we are almost done
  1443. 1:08:00okay
  1444. 1:08:04so once I'm here let me also or let's
  1445. 1:08:07say once I am here let me look at this
  1446. 1:08:09equation that I just wrote and remember
  1447. 1:08:12that I know the solution for the optimal
  1448. 1:08:14uh velocity at fixed value of mu of T so
  1449. 1:08:19I found before that VT so here there
  1450. 1:08:23should be a not uh
  1451. 1:08:26a subscript that tells me that I am
  1452. 1:08:29Computing this at the solution of uh for
  1453. 1:08:33for the optimization problem so let me
  1454. 1:08:35write it here V opt
  1455. 1:08:38as a function of Q
  1456. 1:08:41and if we're given U of T was just given
  1457. 1:08:44by
  1458. 1:08:451 over 2K
  1459. 1:08:48the derivative
  1460. 1:08:53of the function Omega that I introduced
  1461. 1:08:57to the power 2.
  1462. 1:08:59and using the answer for the function
  1463. 1:09:02Omega this is just 1 over 2K
  1464. 1:09:06times so the derivative of Omega is H1
  1465. 1:09:10of t
  1466. 1:09:14minus
  1467. 1:09:16H2 of t
  1468. 1:09:18the two countries with a one-half Q to
  1469. 1:09:21the power two
  1470. 1:09:23you see it okay
  1471. 1:09:27here I'm just using the answer that I
  1472. 1:09:30made for the expansion of Omega
  1473. 1:09:33and therefore if I now plug this
  1474. 1:09:35expression into this equation for E
  1475. 1:09:38Prime I get a fourth equation
  1476. 1:09:40that I call equation four
  1477. 1:09:43which tells me that e Prime of t
  1478. 1:09:49is also equal to the expectation value
  1479. 1:09:52of this quantity here with respect to Q
  1480. 1:09:55so now I'm
  1481. 1:09:58I'm let me write small q so this is a
  1482. 1:10:02solution for any possible value of small
  1483. 1:10:04q now if I compute the optimal
  1484. 1:10:06trajectory as a fixed uh the optimal
  1485. 1:10:09velocity get a fixed trajectory for my
  1486. 1:10:11random variable q and I take the
  1487. 1:10:14expectation value what I will get so
  1488. 1:10:16this is just from here I will get that
  1489. 1:10:18this is
  1490. 1:10:191 over 2 K
  1491. 1:10:23there is no Square here right all right
  1492. 1:10:27okay
  1493. 1:10:29H1 of T minus h2c times the expectation
  1494. 1:10:35value of Q which is nothing but e of T5
  1495. 1:10:44so from all using all of these
  1496. 1:10:46identities and my solution for V let's
  1497. 1:10:48fix mu I get this fourth equation that
  1498. 1:10:51allows me to relate the quantity that I
  1499. 1:10:53just introduced to H1 and H2 for which I
  1500. 1:10:57have the two other equations up there
  1501. 1:11:00and so now what's the strategy to solve
  1502. 1:11:03the system of equations I will just
  1503. 1:11:05sketch it so the first thing that you
  1504. 1:11:08can do is you take another derivative
  1505. 1:11:11with respect to time of equations four
  1506. 1:11:15so now I want to close to get a closed
  1507. 1:11:17equation for E of t
  1508. 1:11:19so what I can do is I take
  1509. 1:11:22the second derivative of my equation 4
  1510. 1:11:25with respect to time
  1511. 1:11:27and what I have is 1 over 2K
  1512. 1:11:31H1 Prime
  1513. 1:11:34with respect to D minus H2 of T Prime
  1514. 1:11:38this is not a problem because we solved
  1515. 1:11:40the problem for H2 so we know what is
  1516. 1:11:42the explicit form
  1517. 1:11:44of this derivative times e
  1518. 1:11:49minus 1 over 2 K
  1519. 1:11:53h two of T times e Prime of t
  1520. 1:11:57okay
  1521. 1:11:59so now we have a true H2 that as I said
  1522. 1:12:02we know we have e that is what we want
  1523. 1:12:04and we have this
  1524. 1:12:06H1 Prime
  1525. 1:12:09that uh that the the say depends
  1526. 1:12:13indirectly on uh on the function e why
  1527. 1:12:18because if you look at the equation two
  1528. 1:12:19this gives you precisely H1 Prime as
  1529. 1:12:23minus beta mu and mu is what mu is e
  1530. 1:12:27Prime of t
  1531. 1:12:29plus 1 over 2K H1 H2 so you will see
  1532. 1:12:33that this Factor if I now replace
  1533. 1:12:36I place equation 2 in here
  1534. 1:12:39okay
  1535. 1:12:41what I see is that and I use that mu of
  1536. 1:12:44T is e Prime of T I will get out of this
  1537. 1:12:47so this you can check
  1538. 1:12:49I will cancel terms like this I think
  1539. 1:12:51and I will get a second order equation
  1540. 1:12:55for E which is of the following form
  1541. 1:13:01so I'm going a bit fast in here but just
  1542. 1:13:03because this is
  1543. 1:13:05just algebra
  1544. 1:13:08I have H2 Prime of T minus H2 square of
  1545. 1:13:14T over 2K
  1546. 1:13:18equal to zero
  1547. 1:13:24okay so this is what you should get
  1548. 1:13:29and the quantity in parenthesis you can
  1549. 1:13:31further simplify it by using equation
  1550. 1:13:34three so you know that this will be
  1551. 1:13:37equal to minus 2 5.
  1552. 1:13:41okay
  1553. 1:13:43so this quantity in parenthesis well
  1554. 1:13:45okay you see the quantity parenthesis
  1555. 1:13:47here is minus 2 5.
  1556. 1:13:49so now you have a simple second order
  1557. 1:13:52differential equation for e
  1558. 1:13:54and you can solve it
  1559. 1:13:59so you know that when you have equations
  1560. 1:14:01of this form the solution is always
  1561. 1:14:03given by
  1562. 1:14:05linear combinations of exponentials
  1563. 1:14:12so again I will just give you the
  1564. 1:14:15general form and then you can fill in
  1565. 1:14:18the details
  1566. 1:14:20foreign
  1567. 1:14:25second derivative of t
  1568. 1:14:28plus T by Prime of B
  1569. 1:14:31and then we have minus 2 Phi
  1570. 1:14:34e of t
  1571. 1:14:36equal to zero
  1572. 1:14:39and if you
  1573. 1:14:41do all of the calculation you will find
  1574. 1:14:43that you can write
  1575. 1:14:45the solution so y will be an exponential
  1576. 1:14:48well okay because this is a linear
  1577. 1:14:50equation in the derivatives so if you
  1578. 1:14:52make an answer which is of the
  1579. 1:14:54exponential form e to the alpha T you
  1580. 1:14:57will be able to rewrite this as an
  1581. 1:15:00equation for the coefficient Alpha and
  1582. 1:15:02by solving these equations you find that
  1583. 1:15:08you can write it as
  1584. 1:15:10in the following form
  1585. 1:15:19or what you can do is you take these
  1586. 1:15:21answers you plug it into the equation
  1587. 1:15:22and this gives you a second order
  1588. 1:15:24equation for this
  1589. 1:15:26omegas
  1590. 1:15:27that each of the following form
  1591. 1:15:34so which will depend on the parameters
  1592. 1:15:36you see in this equation so 5K and Theta
  1593. 1:15:41and if you do it you will find this
  1594. 1:15:44dependency here
  1595. 1:15:48okay
  1596. 1:15:49so the equation will allow you to fix
  1597. 1:15:51the values of Omega plus and Omega minus
  1598. 1:15:54and then you see you have an extra
  1599. 1:15:55constant C and you have to fix it
  1600. 1:15:58knowing the boundary value for uh for uh
  1601. 1:16:02for your quantity e that you can deduce
  1602. 1:16:06for example
  1603. 1:16:08from uh you can deduce it from the
  1604. 1:16:11boundary values of H1 and nh2
  1605. 1:16:16uh that you have from before
  1606. 1:16:20okay so uh I don't want to do uh now do
  1607. 1:16:25all of the details uh of the solution of
  1608. 1:16:27the system of equations because we also
  1609. 1:16:28do not have time but what is the idea so
  1610. 1:16:31the idea is that through this game of
  1611. 1:16:33introducing e of T and solving for E of
  1612. 1:16:36T you now have everything that you need
  1613. 1:16:39to go back to what I call before
  1614. 1:16:41equation one two and three so equation
  1615. 1:16:44three we solved the equation uh one or
  1616. 1:16:47if you want just look at
  1617. 1:16:50it's in this form here
  1618. 1:16:53so from here you know that if you know
  1619. 1:16:55H2 and you know e of T and its
  1620. 1:16:58derivatives then you can solve for H1
  1621. 1:17:00and if you know H1 you can solve for the
  1622. 1:17:04equation of for h0 which was just that
  1623. 1:17:07the derivative of h0 is minus H1 Square
  1624. 1:17:10over 2K and so you have sold all of your
  1625. 1:17:14equations and what you can do and this
  1626. 1:17:16is a little bit an exercise for you is
  1627. 1:17:19to
  1628. 1:17:20try to write them down this equation and
  1629. 1:17:23try to plot them as a function of the
  1630. 1:17:25various parameters of the problems that
  1631. 1:17:28that we have
  1632. 1:17:30and of course I'm not going to do it at
  1633. 1:17:33the Blackboard but I just want to
  1634. 1:17:35make perhaps
  1635. 1:17:37one final comment that is related to
  1636. 1:17:40part three
  1637. 1:17:42so part three are just questions about
  1638. 1:17:46the dependence on the parameters
  1639. 1:17:51so I will just make two comments so let
  1640. 1:17:54me keep
  1641. 1:17:55Omega in here
  1642. 1:18:00or maybe one comment so one comment is
  1643. 1:18:03uh the following
  1644. 1:18:06so let's go back to equation four up
  1645. 1:18:09there
  1646. 1:18:10which you see
  1647. 1:18:12yes so equation four
  1648. 1:18:17okay so let me conclude with the final
  1649. 1:18:19comment which
  1650. 1:18:20is one of the questions
  1651. 1:18:233.7
  1652. 1:18:27foreign
  1653. 1:18:37so equation four is of the form
  1654. 1:18:40so you see that you have
  1655. 1:18:43e Prime and e but let me maybe just take
  1656. 1:18:50let me look at the line which is above
  1657. 1:18:55equation four which gives me the
  1658. 1:18:58um the optimal velocity
  1659. 1:19:01so the idea is the following so I can
  1660. 1:19:03write
  1661. 1:19:04that the optimal velocity which is e
  1662. 1:19:07Prime of T because of the
  1663. 1:19:10self-consistent equation
  1664. 1:19:11is given
  1665. 1:19:13by what so using principle given
  1666. 1:19:19no sorry this I can write in the
  1667. 1:19:21following way
  1668. 1:19:29okay
  1669. 1:19:33and where does it come from well it
  1670. 1:19:36comes from
  1671. 1:19:38essentially this
  1672. 1:19:42so I have this equation up here and then
  1673. 1:19:45I can rewrite
  1674. 1:19:47H1 as a function of e and if I rewrite
  1675. 1:19:51H1 as a function of e by solving
  1676. 1:19:54equations four for H1 I get this
  1677. 1:19:57expression for uh for the optimal
  1678. 1:19:59velocity
  1679. 1:20:01and it is useful to write it in in this
  1680. 1:20:03way just to tell you the final comments
  1681. 1:20:06and the final comment is that you have
  1682. 1:20:07two contributions to the optimal
  1683. 1:20:10velocity so you have one contribution
  1684. 1:20:12that goes like e Prime T and remember
  1685. 1:20:15that e Prime T is
  1686. 1:20:19what we call U of B
  1687. 1:20:22so it is an average of all of the
  1688. 1:20:25velocities of the other players in the
  1689. 1:20:28game
  1690. 1:20:28so what this is telling you is something
  1691. 1:20:30that people in this literature call
  1692. 1:20:33follow
  1693. 1:20:36the trading flow
  1694. 1:20:44so this is the term that is basically
  1695. 1:20:46telling you that if everybody is selling
  1696. 1:20:48very fast
  1697. 1:20:50each of the other agents will have a
  1698. 1:20:52velocity that is large and negative and
  1699. 1:20:55so your e Prime contribution in here
  1700. 1:20:57will be the average of all of these
  1701. 1:20:59velocities that will be large and
  1702. 1:21:00negative and so you also want to have a
  1703. 1:21:02velocity that is large and negative so
  1704. 1:21:04you want to match with what all of the
  1705. 1:21:08other people are doing uh on average and
  1706. 1:21:10this is what uh
  1707. 1:21:12people in the literature call indeed
  1708. 1:21:14following the flow with an extra
  1709. 1:21:17contribution though which comes from uh
  1710. 1:21:20from this difference in here
  1711. 1:21:22and this difference in here it tells you
  1712. 1:21:24so typically you can show that this
  1713. 1:21:25quantity is positive
  1714. 1:21:28and therefore it's telling you that yes
  1715. 1:21:30you may have a large negative
  1716. 1:21:32contribution uh from the the flow of the
  1717. 1:21:36other people but then you can compensate
  1718. 1:21:38a little bit with this this trend by
  1719. 1:21:41this term and this term is proportional
  1720. 1:21:44to let's say Q so the amount of
  1721. 1:21:47inventory that you still have at the
  1722. 1:21:49given time c and e of T is what is the
  1723. 1:21:53average of this of the inventory of all
  1724. 1:21:55of the other Traders so what this is
  1725. 1:21:57telling you is that if you have an
  1726. 1:21:59amount of inventory that is smaller than
  1727. 1:22:02the average so you have already so sold
  1728. 1:22:05more than what the average has sold then
  1729. 1:22:10you get a contribution which is positive
  1730. 1:22:12which compensates a little bit uh the
  1731. 1:22:15negative contribution of the velocities
  1732. 1:22:16of all of the others so you somehow have
  1733. 1:22:19to adjust to what the average is doing
  1734. 1:22:21and this is the essence of
  1735. 1:22:24um in field meaning that if everybody is
  1736. 1:22:26selling fast you want to sell as they
  1737. 1:22:28are are to satisfy also the
  1738. 1:22:30self-consistent equation and at the same
  1739. 1:22:32time you want that your average
  1740. 1:22:34inventory matches somehow the average
  1741. 1:22:36for all the others so if at the time you
  1742. 1:22:39have an inventory which is smaller you
  1743. 1:22:41slow down a little bit you're selling so
  1744. 1:22:43as to compensate and somehow be
  1745. 1:22:47consistent with uh with what the system
  1746. 1:22:50is doing on average
  1747. 1:22:52so this is uh slow down
  1748. 1:22:57if if Q is smaller than
  1749. 1:23:01than the average at a given time t
  1750. 1:23:05okay so that's basically uh What uh
  1751. 1:23:09say and the other comments that you find
  1752. 1:23:13in section three are again about
  1753. 1:23:15analyzing a little bit uh the structure
  1754. 1:23:18of the solution that you see in
  1755. 1:23:21particular as you see
  1756. 1:23:23um well okay you can go through it by
  1757. 1:23:27yourself one observation that you can
  1758. 1:23:28make is that in the behavior of e of T
  1759. 1:23:31you see that the parameters enter in
  1760. 1:23:35here like Theta K and Phi but the
  1761. 1:23:37parameter a which was related to the
  1762. 1:23:41cost of liquidation at the final time
  1763. 1:23:44doesn't enter in here so this tells you
  1764. 1:23:46that maybe you can somehow to this level
  1765. 1:23:49you can forget about that extra
  1766. 1:23:52parameter and what you can really play
  1767. 1:23:53with to get to different strategies are
  1768. 1:23:56the three ones that appear in here but
  1769. 1:24:00if you can check by yourself
  1770. 1:24:03and okay I think this is enough and for
  1771. 1:24:06the plank that's really very fast
  1772. 1:24:09but maybe we do it uh next time so there
  1773. 1:24:12is the next day
  1774. 1:24:14to the number five is
  1775. 1:24:17um
  1776. 1:24:18or or there are two weeks that I
  1777. 1:24:21allocated for the same today and that is
  1778. 1:24:23just to have a little bit of pose to
  1779. 1:24:25also catch up with what was left behind
  1780. 1:24:28and I think that is next week and uh and
  1781. 1:24:30the following one after the holidays so
  1782. 1:24:33this is to say that we will have time to
  1783. 1:24:34uh to discuss soccer plank again
  1784. 1:24:37and for the moments we can stop here I
  1785. 1:24:39think so are there questions
  1786. 1:24:45nope
  1787. 1:24:51okay
  1788. 1:24:53okay then I stopped
  1789. 1:24:56the record

About this transcript

This page contains the full transcript of Complex Systems - Jean-Philippe Bouchaud - Lecture 5: Optimal Liquidation (Valentina Ros) by EconophysiX Lab, generated from the public captions YouTube serves with the video. The transcript has 11,358 words across 1,789 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.