{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/115279"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/115279","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Adversarial Robustness Testing of Deep Reinforcement Learning Based Automated Trading Software","abstract":"Applications of neural networks in automating control tasks are one the most popular topics in software-intensive companies these days. With the integration of deep reinforcement learning (DRL) methods, classic algorithms were outperformed in various software-related tasks such as playing complex games, self-driving cars, etc. One of the interesting applications of reinforcement learning is its application as an automated stock trading software system. However, these algorithms are prone to manipulations by competing trading systems, similar to player vs. player settings. But, verifying the quality of DRL-based commercial trading software is challenging for a third party since they are protected behind secure international exchange APIs such as NASDAQ. This makes typical gradient-based adversarial sample generation (as a quality assessment tool for Deep Neural Networks), like FGSM, obsolete. In this research, we aim to demonstrate a “grey-box” approach for attacking a deep reinforcement learning trading agent is possible by trading in the same stock market. We assume we don’t have access to the trading agents’ source code, policy architecture, Deep Neural Network weights, or training algorithm. Our only viable data would be the current state of the market and the decision of the trading agent or its chosen action in that given state. The adversary agent is provided with the combination of inputs to the trading agent’s Deep Neural Network policy and the trade decision made by the agent. Our proposed adversary the agent uses a hybrid Deep Neural Network as its policy consisting of convolutional layers and fully-connected layers. The adversary policy proposed in our research was able to change the softmax output of the baseline by 44.66%, ensemble method by 28.7%, and the automated trading software developed by our industrial partner Intelius AI by 21.2% and reducing their profits by 87.94%, 74.46%, and 66.82%, respectively.","abstract_html":"Applications of neural networks in automating control tasks are one the most popular topics in software-intensive companies these days. With the integration of deep reinforcement learning (DRL) methods, classic algorithms were outperformed in various software-related tasks such as playing complex games, self-driving cars, etc. One of the interesting applications of reinforcement learning is its application as an automated stock trading software system. However, these algorithms are prone to manipulations by competing trading systems, similar to player vs. player settings. But, verifying the quality of DRL-based commercial trading software is challenging for a third party since they are protected behind secure international exchange APIs such as NASDAQ. This makes typical gradient-based adversarial sample generation (as a quality assessment tool for Deep Neural Networks), like FGSM, obsolete. In this research, we aim to demonstrate a “grey-box” approach for attacking a deep reinforcement learning trading agent is possible by trading in the same stock market. We assume we don’t have access to the trading agents’ source code, policy architecture, Deep Neural Network weights, or training algorithm. Our only viable data would be the current state of the market and the decision of the trading agent or its chosen action in that given state. The adversary agent is provided with the combination of inputs to the trading agent’s Deep Neural Network policy and the trade decision made by the agent. Our proposed adversary the agent uses a hybrid Deep Neural Network as its policy consisting of convolutional layers and fully-connected layers. The adversary policy proposed in our research was able to change the softmax output of the baseline by 44.66%, ensemble method by 28.7%, and the automated trading software developed by our industrial partner Intelius AI by 21.2% and reducing their profits by 87.94%, 74.46%, and 66.82%, respectively.","abstract_has_math":false,"creators":["Ataiefard, Foozhan"],"institution":"Schulich School of Engineering","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Engineering – Electrical & Computer","degree_department":null,"school":null,"contributors":[],"advisors":["Hemmati, Hadi"],"committee_chairs":[],"committee_members":["Uddin, Gias","Krishnamurthy, Diwakar"],"year":2022,"date_issued":"2022-09-22","date_published":"2022-09-22","updated_at":"2026-11-19T07:29:18Z","subjects":["Deep Reinforcement Learning","Automated Trading","Robustness Testing"],"languages":["eng"],"rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1880/115279"],"render_values":[{"text":"http://hdl.handle.net/1880/115279","href":"https://hdl.handle.net/1880/115279","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Ataiefard, F. (2022). Adversarial robustness testing of deep reinforcement learning based automated trading software (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"render_values":[{"text":"Ataiefard, F. (2022). Adversarial robustness testing of deep reinforcement learning based automated trading software (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.11575/PRISM/40285","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/40285","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Acalgary%3Aoai%3Aucalgary.scholaris.ca%3A1880%2F115279","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F115279","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hemmati, Hadi"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Uddin, Gias","Krishnamurthy, Diwakar"]},{"key":"dc:creator","label":"Author","values":["Ataiefard, Foozhan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2022-11"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2022-09-26T15:20:27Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2022-09-26T15:20:27Z"]},{"key":"dc:date.issued","label":"Date","values":["2022-09-22"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Schulich School of Engineering"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Calgary"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering – Electrical & Computer"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Deep Reinforcement Learning","Automated Trading","Robustness Testing"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Education--Finance","Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Ataiefard, F. (2022). Adversarial robustness testing of deep reinforcement learning based automated trading software (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."]},{"key":"dc:identifier.doi","label":"DOI","values":["https://dx.doi.org/10.11575/PRISM/40285"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1880/115279"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Applications of neural networks in automating control tasks are one the most popular topics in software-intensive companies these days. With the integration of deep reinforcement learning (DRL) methods, classic algorithms were outperformed in various software-related tasks such as playing complex games, self-driving cars, etc. One of the interesting applications of reinforcement learning is its application as an automated stock trading software system. However, these algorithms are prone to manipulations by competing trading systems, similar to player vs. player settings. But, verifying the quality of DRL-based commercial trading software is challenging for a third party since they are protected behind secure international exchange APIs such as NASDAQ. This makes typical gradient-based adversarial sample generation (as a quality assessment tool for Deep Neural Networks), like FGSM, obsolete. In this research, we aim to demonstrate a “grey-box” approach for attacking a deep reinforcement learning trading agent is possible by trading in the same stock market. We assume we don’t have access to the trading agents’ source code, policy architecture, Deep Neural Network weights, or training algorithm. Our only viable data would be the current state of the market and the decision of the trading agent or its chosen action in that given state. The adversary agent is provided with the combination of inputs to the trading agent’s Deep Neural Network policy and the trade decision made by the agent. Our proposed adversary the agent uses a hybrid Deep Neural Network as its policy consisting of convolutional layers and fully-connected layers. The adversary policy proposed in our research was able to change the softmax output of the baseline by 44.66%, ensemble method by 28.7%, and the automated trading software developed by our industrial partner Intelius AI by 21.2% and reducing their profits by 87.94%, 74.46%, and 66.82%, respectively."]},{"key":"dc:title","label":"Title","values":["Adversarial Robustness Testing of Deep Reinforcement Learning Based Automated Trading Software"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:request.copy","label":"Local Request Copy","values":["true"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hemmati, Hadi"],"dc:contributor.committeemember":["Uddin, Gias","Krishnamurthy, Diwakar"],"dc:creator":["Ataiefard, Foozhan"],"dc:date":["2022-11"],"dc:date.accessioned":["2022-09-26T15:20:27Z"],"dc:date.available":["2022-09-26T15:20:27Z"],"dc:date.issued":["2022-09-22"],"dc:description.abstract":["Applications of neural networks in automating control tasks are one the most popular topics in software-intensive companies these days. With the integration of deep reinforcement learning (DRL) methods, classic algorithms were outperformed in various software-related tasks such as playing complex games, self-driving cars, etc. One of the interesting applications of reinforcement learning is its application as an automated stock trading software system. However, these algorithms are prone to manipulations by competing trading systems, similar to player vs. player settings. But, verifying the quality of DRL-based commercial trading software is challenging for a third party since they are protected behind secure international exchange APIs such as NASDAQ. This makes typical gradient-based adversarial sample generation (as a quality assessment tool for Deep Neural Networks), like FGSM, obsolete. In this research, we aim to demonstrate a “grey-box” approach for attacking a deep reinforcement learning trading agent is possible by trading in the same stock market. We assume we don’t have access to the trading agents’ source code, policy architecture, Deep Neural Network weights, or training algorithm. Our only viable data would be the current state of the market and the decision of the trading agent or its chosen action in that given state. The adversary agent is provided with the combination of inputs to the trading agent’s Deep Neural Network policy and the trade decision made by the agent. Our proposed adversary the agent uses a hybrid Deep Neural Network as its policy consisting of convolutional layers and fully-connected layers. The adversary policy proposed in our research was able to change the softmax output of the baseline by 44.66%, ensemble method by 28.7%, and the automated trading software developed by our industrial partner Intelius AI by 21.2% and reducing their profits by 87.94%, 74.46%, and 66.82%, respectively."],"dc:identifier.citation":["Ataiefard, F. (2022). Adversarial robustness testing of deep reinforcement learning based automated trading software (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"dc:identifier.doi":["https://dx.doi.org/10.11575/PRISM/40285"],"dc:identifier.uri":["http://hdl.handle.net/1880/115279"],"dc:language.iso":["eng"],"dc:publisher.faculty":["Schulich School of Engineering"],"dc:publisher.institution":["University of Calgary"],"dc:rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"dc:subject":["Deep Reinforcement Learning","Automated Trading","Robustness Testing"],"dc:subject.classification":["Education--Finance","Computer Science"],"dc:title":["Adversarial Robustness Testing of Deep Reinforcement Learning Based Automated Trading Software"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"local:request.copy":["true"],"others:access_status":["open.access"],"thesis:degree_discipline":["Engineering – Electrical & Computer"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"]},"updated_at":"2026-11-19T07:29:18Z"}