- Book Chapter
4
- 10.1007/978-3-031-47751-5_8
An Efficient Algorithm for Optimal Routing Through Constant Function Market Makers
- Dec 01, 2023
- Theo Diamandis + 3 more +3
Publications from 2021 to 2026
Showing 10 of 27 papers
An Efficient Algorithm for Optimal Routing Through Constant Function Market Makers
Constant Function Market Makers: Multi-asset Trades via Convex Optimization
Abstract The rise of Ethereum and other blockchains that support smart contracts has led to the creation of decentralized exchanges (DEXs), such as Uniswap, Balancer, Curve, mStable, and SushiSwap, which enable agents to trade cryptocurrencies without trusting a centralized authority. While traditional exchanges use order books to match and execute trades, DEXs are typically organized as constant function market makers (CFMMs). CFMMs accept and reject proposed trades based on the evaluation of a function that depends on the proposed trade and the current reserves of the DEX. For trades that involve only two assets, CFMMs are easy to understand, via two functions that give the quantity of one asset that must be tendered to receive a given quantity of the other, and vice versa. When more than two assets are being exchanged, it is harder to understand the landscape of possible trades. We observe that various problems of choosing a multi-asset trade can be formulated as convex optimization problems and can therefore be reliably and efficiently solved.
Read moreOptimal Fees for Geometric Mean Market Makers
Constant Function Market Makers (CFMMs) are a family of automated market makers that enable censorship-resistant decentralized exchange on public blockchains. Arbitrage trades have been shown to align the prices reported by CFMMs with those of external markets. These trades impose costs on Liquidity Providers (LPs) who supply reserves to CFMMs. Trading fees have been proposed as a mechanism for compensating LPs for arbitrage losses. However, large fees reduce the accuracy of the prices reported by CFMMs and can cause reserves to deviate from desirable asset compositions. CFMM designers are therefore faced with the problem of how to optimally select fees to attract liquidity. We develop a framework for determining the value to LPs of supplying liquidity to a CFMM with fees when the underlying process follows a general diffusion. Focusing on a popular class of CFMMs which we call Geometric Mean Market Makers (G3Ms), our approach also allows one to select optimal fees for maximizing LP value. We illustrate our methodology by showing that an LP with mean-variance utility will prefer a G3M over all alternative trading strategies as fees approach zero.
Read moreA practical introduction to the thoracic ultrasonography of sheep
Respiratory disease is common in sheep and thoracic ultrasonography can be a useful point of care diagnostic. This article describes how to perform thoracic ultrasonography in sheep, and provides examples of the lesions that may be identified, alongside practical advice gained through field experience. Ultrasonography should be combined with necropsy to confirm a proportion of diagnoses and build confidence using the technique in practice.
Read moreFemoral mononeuropathy in Lyme disease: a case report
BackgroundPeripheral neuropathy is a common complication of Lyme disease. Cranial mononeuropathy, particularly that affecting the facial nerve, can be a presenting symptom, and at times, it can be associated with polyradiculopathies or plexopathies. However, isolated femoral neuropathy has not yet been reported in Lyme disease; therefore, we felt the need to present this case.Case presentationLaboratory investigations were performed on a 67-year-old man living in a region at high risk for Lyme disease after he developed erythema migrans on his chest, accompanied by the swelling of his left knee joint. A Western blot immunoglobulin assay was performed, including a screening for connective tissue disorders. Positive serological test results led to the administration of oral doxycycline therapy at a dosage of 100 mg twice daily. Shortly afterwards, he developed gait difficulties and frequent falls. The clinical examination and electrodiagnostic studies were consistent with femoral neuropathy. To look for etiologies other than Lyme disease, radiographic studies of his lumbar spine, pelvic cavity, retroperitoneal compartment, and hips were conducted. In addition, he was screened for diabetes. However, no other etiologies were found to explain the femoral neuropathy. Eventually, he recovered, and he was able to return to work.ConclusionWe firmly believe that the femoral neuropathy and Lyme disease seen in this patient were causally related.
Read moreEwe nutrition and colostrum
To reduce the use of prophylactic antibiotics, nutrition of the ewe in late pregnancy needs to be addressed in order to maximise colostrum production and minimise neonatal mortality. A key aspect is the correct balance of energy and protein provided to the rumen micro-organisms. The volume and timing of colostrum administration is also essential as lambs cannot absorb colostrum after the first 36 hours of life and the immunoglobulin G concentration in colostrum decreases at a rate of 3.3 mg/kg/hour after parturition up to 23 hours at which the level becomes zero. Undernutrition decreases the quality and quantity of colostrum, and decreases the maternal bond with the lamb, which decreases the suckling of the ewe and, therefore, reduces the amount of colostrum the lamb ingests. Vet involvement through monitoring the metabolic profiles of the ewes can be beneficial in managing the nutrition of ewes in late pregnancy and the quality of colostrum produced.
Read moreThermally stable low‐density polyethylene/polyhydroxybutyrate pairs: Synergy between organomodified nanoclay and <scp>LDPE</scp>‐<i>g</i>‐<scp>MAH</scp>
ABSTRACTNanocomposites of low‐density polyethylene/polyhydroxybutyrate (LDPE/PHB) containing organomodified montmorillonite (OMMT) and/or LDPE grafted maleic anhydride (LDPE‐g‐MAH) were prepared with a wide range of composition ratios using a vertical co‐rotating twin‐screw microCompounder. To infer the effect of OMMT and LDPE‐g‐MAH on the thermal stability of prepared nanocomposites, all samples were characterized by thermogravimetric analysis while changing clay and compatibilizer contents. Accordingly, two commonly used kinetic models (Coats–Redfern and Horowitz–Metzger) were employed to correlate the thermal stability of the samples with kinetic parameters, including activation energy and pre‐exponential factor. Furthermore, morphological features of LDPE/PHB in the presence or absence of OMMT and LDPE‐g‐MAH were studied using scanning electron microscopy, transmission electron microscopy, and wide‐angle X‐ray diffraction analysis. It was found that for a specific OMMT composition ratio (1 wt %), the thermal stability is enhanced due to an exfoliated structure. However, for samples containing more organoclay (>=3 wt %), the thermal stability was reduced showing the competition between the barrier effect of organoclay platelets and the catalyzing effect of ammonium salts. Moreover, when using LDPE‐g‐MAH as compatibilizer, it acted as a good coupling agent in all compositions in LDPE major phase systems in contrast to PHB major phase samples. © 2017 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2018, 135, 45922.
Read more“I Know You Want It”: Teaching the Blurred Lines of Eighteenth-Century Rape Culture
“‘I Know You Want It’: Teaching the Blurred Lines of Eighteenth-Century Rape Culture” is a collaborative pedagogical article that addresses the problem of so-called “post-feminism” in the contemporary college classroom by way of a comparative approach to eighteenth-century literature. Specifically, we contextualize and compare the early and late work of Eliza Haywood with current cultural debates and events in order to demonstrate not only the relevance of Haywood and eighteenth-century writers like her, but the importance of continuing the feminist conversation. The article provides texts, readings, and discussion points for consideration, as well as links to relevant contemporary issues and events.
Read moreUtility of a New Spanish RQC and PSC in Screening with CBCL Validation.
Various screening questionnaires have been established to identify psychopathology in children and adolescents. Some of these instruments include the pediatric symptom checklist (PSC), the pediatric symptom checklist (CBCL) and reporting questionnaire for children (RQC). However, many of the patients and their families may not speak English, and this can be a barrier to identifying and properly treating monolingual Spanish-speaking patients and families. There is a need for optimal mental health screening in Spanish speaking populations given the continued growth of the United States as a diverse country with complex demographic structure. Because of the diversity within the use of Spanish in Hispanic countries of origin, the aim of this study is to present unified Spanish versions of the RQC and PSC achieved through simultaneously and independently translating them into three versions of Spanish (RQC-SP and PSC-SP). To test the psychiatric validity of RQC-SP and PSC-SP, these both were administered simultaneously along with the Spanish version of the CBCL, which had already been well established. All three of these tools were given to Spanish speaking parents of pediatric outpatients (n = 22) while waiting for their clinic appointments. The RQC-SP had a correlation to the CBCL with R = 0.779 and p < 0.001. The RQC-SP as compared with the CBCL had a false negative of 0/8 (0.00) with a sensitivity of 8/8 = 1.00. The false positives were 2/14 (0.143) and specificity 12/15 (0.85). The PSC-SP correlated with the CBCL with R = 0.897 and p < 0.001. The PSC-SP correlation with the CBCL had false negative of 7/8 (0.875) and sensitivity of 1/8 (0.125) and false positive 0/14 (0.00) and specificity 14/14 (1.00). The RQC-SP and PSC-SP are brief, well-validated, reliable instruments designed.
Read moreLaboratory performance of alternating pressure air mattresses
The performance of three different alternating pressure air mattresses with different geometries of air cell were compared (Nimbus 3, Heritage, Tamora Plus), using simple performance indices based on pressure mapping. The aim of this study was to examine the effect on performance of elevating the backrest and thigh section of the bed into sitting position. Ten healthy volunteers of various sizes were pressure-mapped over the full pressure cycle on three alternating pressure air mattresseses with differing cell geometries. This was then repeated with the beds profiled to a sitting position. Performance of the alternating pressure air mattresses in terms of their ability to redistribute pressure dynamically was assessed in the different positions. The different alternating pressure air mattresses performed similarly with the bed in the lying flat position, but smaller cells appeared to be more effective in the sitting position. A conclusion was made that cell geometry may have an effect on the ability of the mattress to achieve alternating behaviour in the sitting position.
Read more