The amortized analysis method originally emerged as aggregated analysis (Ullmanm, Aho and Hopcroft used a version of it to analyze set representations) to analyze basic set operation in binary trees and union operations. The technique was first formally introduced by Robert Tarjan in his paper Amortized Computational Complexity. It was used to study balanced binary trees and the operation for set representations.
Using data from the S&P 500 stocks from 1990 to 2015, we address the uncertainty of distribution of assets’ returns in Conditional Value-at-Risk (CVaR) minimization model by applying multidimensional mixed Archimedean copula function and obtaining its robust counterpart. We implement a dynamic investing viable strategy where the portfolios are optimized using three different length of rolling calibration windows. The out-of-sample performance is evaluated and compared against two benchmarks: a multidimensional Gaussian copula model and a constant mix portfolio. Our empirical analysis shows that the Mixed Copula-CVaR approach generates portfolios with better downside risk statistics for any rebalancing period and it is more profitable than the Gaussian Copula-CVaR and the 1/N portfolios for daily and weekly rebalancing. To cope with the dimensionality problem we select a set of assets that are the most diversified, in some sense, to the S&P 500 index in the constituent set. The accuracy of the VaR forecasts is determined by how well they minimize a capital requirement loss function. In order to mitigate data-snooping problems, we apply a test for superior predictive ability to determine which model significantly minimizes this expected loss function. We find that the minimum average loss of the mixed Copula-CVaR approach is smaller than the average performance of the Gaussian Copula-CVaR.
Interactive Visualization in Human Time -StampedeCon 2015StampedeCon
At the StampedeCon 2015 Big Data Conference: Visualizing large amounts of data interactively can stress the limits of computer resources and human patience. Shaping data and the way it is viewed can allow exploration of large data sets interactively. Here we will look at how to generate a large amount of data and to organize it so that it can be explored interactively. We will use financial engineering as a platform to show approaches to making the large amount of data viewable.
Many techniques in financial engineering utilize a co-variance matrix. A co-variance matrix contains the square of the number of individual data series. Interacting with this data might require generating the matrix for thousands to millions of different starting and ending time combinations. We explore aggregation techniques to visualize this data interactively without spending more time than is available nor using more storage than can be found.
We here detail how to build through variance optimization a range of portfolio over a multi risk framework factor. This methodology is much used by practitioner as the factors covariance is non singular even with few observations and more stable.
The amortized analysis method originally emerged as aggregated analysis (Ullmanm, Aho and Hopcroft used a version of it to analyze set representations) to analyze basic set operation in binary trees and union operations. The technique was first formally introduced by Robert Tarjan in his paper Amortized Computational Complexity. It was used to study balanced binary trees and the operation for set representations.
Using data from the S&P 500 stocks from 1990 to 2015, we address the uncertainty of distribution of assets’ returns in Conditional Value-at-Risk (CVaR) minimization model by applying multidimensional mixed Archimedean copula function and obtaining its robust counterpart. We implement a dynamic investing viable strategy where the portfolios are optimized using three different length of rolling calibration windows. The out-of-sample performance is evaluated and compared against two benchmarks: a multidimensional Gaussian copula model and a constant mix portfolio. Our empirical analysis shows that the Mixed Copula-CVaR approach generates portfolios with better downside risk statistics for any rebalancing period and it is more profitable than the Gaussian Copula-CVaR and the 1/N portfolios for daily and weekly rebalancing. To cope with the dimensionality problem we select a set of assets that are the most diversified, in some sense, to the S&P 500 index in the constituent set. The accuracy of the VaR forecasts is determined by how well they minimize a capital requirement loss function. In order to mitigate data-snooping problems, we apply a test for superior predictive ability to determine which model significantly minimizes this expected loss function. We find that the minimum average loss of the mixed Copula-CVaR approach is smaller than the average performance of the Gaussian Copula-CVaR.
Interactive Visualization in Human Time -StampedeCon 2015StampedeCon
At the StampedeCon 2015 Big Data Conference: Visualizing large amounts of data interactively can stress the limits of computer resources and human patience. Shaping data and the way it is viewed can allow exploration of large data sets interactively. Here we will look at how to generate a large amount of data and to organize it so that it can be explored interactively. We will use financial engineering as a platform to show approaches to making the large amount of data viewable.
Many techniques in financial engineering utilize a co-variance matrix. A co-variance matrix contains the square of the number of individual data series. Interacting with this data might require generating the matrix for thousands to millions of different starting and ending time combinations. We explore aggregation techniques to visualize this data interactively without spending more time than is available nor using more storage than can be found.
We here detail how to build through variance optimization a range of portfolio over a multi risk framework factor. This methodology is much used by practitioner as the factors covariance is non singular even with few observations and more stable.
Fair valuation of participating life insurance contracts with jump riskAlex Kouam
A C++ based program which prices the fair value of a participating life insurance whereby the underlying follows a Kou process and the insurer's default occurs only at contract's maturity.
Sampling Spectrahedra: Volume Approximation and OptimizationApostolos Chalkis
My talk to SIAM Conference on Applied Algebraic Geometry (AG21) on volume approximation of spectrahedra and convex optimization with randomized methods based on MCMC sampling with geometric random walks
Practical volume estimation of polytopes by billiard trajectories and a new a...Apostolos Chalkis
A new randomized method to approximate the volume of a convex polytope based on simulated annealing for cooling convex bodies and MCMC sampling with geometric random walks
This presentation, created by Syed Faiz ul Hassan, explores the profound influence of media on public perception and behavior. It delves into the evolution of media from oral traditions to modern digital and social media platforms. Key topics include the role of media in information propagation, socialization, crisis awareness, globalization, and education. The presentation also examines media influence through agenda setting, propaganda, and manipulative techniques used by advertisers and marketers. Furthermore, it highlights the impact of surveillance enabled by media technologies on personal behavior and preferences. Through this comprehensive overview, the presentation aims to shed light on how media shapes collective consciousness and public opinion.
This presentation by Morris Kleiner (University of Minnesota), was made during the discussion “Competition and Regulation in Professions and Occupations” held at the Working Party No. 2 on Competition and Regulation on 10 June 2024. More papers and presentations on the topic can be found out at oe.cd/crps.
This presentation was uploaded with the author’s consent.
0x01 - Newton's Third Law: Static vs. Dynamic AbusersOWASP Beja
f you offer a service on the web, odds are that someone will abuse it. Be it an API, a SaaS, a PaaS, or even a static website, someone somewhere will try to figure out a way to use it to their own needs. In this talk we'll compare measures that are effective against static attackers and how to battle a dynamic attacker who adapts to your counter-measures.
About the Speaker
===============
Diogo Sousa, Engineering Manager @ Canonical
An opinionated individual with an interest in cryptography and its intersection with secure software development.
Have you ever wondered how search works while visiting an e-commerce site, internal website, or searching through other types of online resources? Look no further than this informative session on the ways that taxonomies help end-users navigate the internet! Hear from taxonomists and other information professionals who have first-hand experience creating and working with taxonomies that aid in navigation, search, and discovery across a range of disciplines.
Acorn Recovery: Restore IT infra within minutesIP ServerOne
Introducing Acorn Recovery as a Service, a simple, fast, and secure managed disaster recovery (DRaaS) by IP ServerOne. A DR solution that helps restore your IT infra within minutes.
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Orkestra
UIIN Conference, Madrid, 27-29 May 2024
James Wilson, Orkestra and Deusto Business School
Emily Wise, Lund University
Madeline Smith, The Glasgow School of Art
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Shock detection and portfolio allocation in cryptocurrency markets
1. Shock detection and portfolio allocation in
cryptocurrency markets
Apostolos Chalkis 1, 2
1Dept Informatics & Telecommunications
National & Kapodistrian U. Athens, Greece
2ATHENA Research & Innovation Center, Greece
June 2, 2021
2. Shock event detection (Part I)
Copula representation.
Define an indicator.
Detection of shock events according to the value
of the indicator.
[Chalkis, Christoforou, Emiris ’21]
3. Stock markets’ types of behavior
Financial markets exhibit 3 types of behavior e.g. [Billio,
Getmansky,Pelizzon’12]:
1 In normal times, stocks are characterized by slightly positive
returns and a moderate volatility.
2 In up-market times (typically bubbles) by high returns and low
volatility.
3 During financial crises by strongly negative returns and high
volatility.
These observations motivate us to describe the time-varying
dependency between portfolios’ returns and volatility.
4. Geometric representation of portfolios
Set of portfolios
{x ∈ Rn
|
P
i xi = 1, xi ≥ 0}
The set of portfolios can be seen
as the simplex/polytope in Rn
.
Ptf x= (0.3, 0.25, 0.45)
6. Consider k consecutive days
Date . . . asset j asset j + 1 . . .
day i . . . Ri,j Ri,j+1 . . .
day i + 1 . . . Ri+1,j Ri+1,j+1 . . .
.
.
. . . . . . . . . . . . .
day i + k − 1 . . . Ri+k−1,j Ri+k−1,j+1 . . .
– Compute compound return
– Cut the simplex with mqqqa df
e hyperplanes
– Equidistant in terms of volume
– Here m = 3
–Estimate the covariance matrix
– Cut the simplex with mqqqa df
e ellipsoids
– Equidistant in terms of volume
– Here m = 3
7. Computing the copula of a given time period
– Cut the simplex with bothqqqa
q hyperplanes and ellipsoids
– Compute the volume of the q
d bodies defined by the qdfxcvxc
d intersections
→
– Obtain a Copula
– Bivariate distribution
– Each marginal is uniform
Apostolos Chalkis Practical Volume Computation & Crises detection
8. Q: How to detect a shock event?
We use the daily returns of the 12 cryptocurrencies with longest
history.
16th December 2017 15th March 2020
Left Copula corresponds to normal and right copula to crises times.
⇒ Normal times: The mass of portfolios on the up diagonal.
⇒ Crisis times: The mass of portfolios on the down diagonal.
9. Answer: Define an indicator I
I :=
mass in red area
mass in blue area
When I > 1 for > 60 days then we report a shock event.
10. Detecting shock events
When I > 1 for > 60days we report a shock event.
When I > 1 for > 30days we report a short shock event.
11. Alternative portfolio allocations (Part II)
Directions:
Use an alternative score to evaluate a portfolio.
Define new performance measures based on the score.
Compute the corresponding optimal portfolios.
Compare them with mainstream portfolios.
[Calès, Chalkis, Emiris, ’21]
12. Score of a portfolio
Ptf x= (0.3, 0.25, 0.45), Asset returns R = (0.09, 0.13, −0.038)
ewrtertsdfhsdgh Ptf return Rx = RT x = 18%
Score of x:=percentage of the Ptfs with worse return than x.
0 ≤ score of a Ptf ≤ 1.
13. The score as a random variable
Given a portfolio x ∈ Rn (use Monte Carlo),
Assume a distribution for the asset returns R ∼ D, and
estimate the distribution of the scores of x (sample from D), or
Use in-sample observations of asset returns R1, . . . , RN
14. New performance measures
f (x) the PDF of the score distribution of a Ptf.
Define 4 performance measures, e.g.,
PerfA =
R 1
0 (x − S∗)f (x)dx
qR 1
0 (x − S∗)2f (x)dx
=
µ − S∗
σ
,
PerfB =
R 1
0 xf (x)dx
qR 1
0 x2f (x)dx
=
µ
σ
,
...
15. Allocation exercise
We consider the daily returns of the 12 cryptocurrencies with
longest history.
We let a sliding window (s.w.) of length W = 100 days.
We shift the s.w. by one day.
For each s.w. we compute the following Ptfs (average
volatility):
The optimal Markowitz Mean-Variance Ptf (OptMV).
The closest single asset Ptf on BTC (OptBTC).
The optimal PerfA, PerfB, PerfC, PerfD (in-sample).
We evaluate the portfolios with the (W + 1)th asset returns.
16. Score and Return distributions
All portfolios are difficult to be distinguished in Markowitz
framework (very similar average return and variance).
Both OptMV and OptBTC the most of the times among the
best or the worst performers.
PerfA, PerfB, PerfC, PerfD are more stable in terms of score
(new concept of risk).
21. Open Source Code
The computational tools are implemented in package
volesti of Open Source Org. Geomscale.
github.com/GeomScale/volume_approximation.
geomscale.github.io/.