{'fraction_non_alphanumeric': 0.02005420054200542, 'fraction_numerical': 0.0, 'mean_word_length': 5.664259927797834, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Forex Investment Optimization Using Instantaneous Stochastic Gradient Ascent—Formulation of an Adaptive Machine Learning Approach

In the current complex financial world, paper currencies are vulnerable and unsustainable due to many factors such as current account deficit, gold reserves, dollar reserves, political stability, security, the presence of war in the region, etc. The vulnerabilities not limited to the above, result in fluctuation and instability in the currency values. Considering the devaluation of some Asian countries such as Pakistan, Sri Lanka, Türkiye, and Ukraine, there is a current tendency of some countries to look beyond the SWIFT system. It is not feasible to have reserves in only one currency, and thus, forex markets are likely to have significant growth in their volumes. In this research, we consider this challenge to work on having sustainable forex reserves in multiple world currencies. This research is aimed to overcome their vulnerabilities and, instead, exploit their volatile nature to attain sustainability in forex reserves. In this regard, we work to formulate this problem and propose a forex investment strategy inspired by gradient ascent optimization, a robust iterative optimization algorithm. The dynamic nature of the forex market led us to the formulation and development of the instantaneous stochastic gradient ascent method. Contrary to the conventional gradient ascent optimization, which considers the whole population or its sample, the proposed instantaneous stochastic gradient ascent (ISGA) optimization considers only the next time instance to update the investment strategy. We employed the proposed forex investment strategy on forex data containing one-year multiple currencies’ values, and the results are quite profitable as compared to the conventional investment strategies.