{"title":"Stock-UniBERT: A News-based Cost-sensitive Ensemble BERT Model for Stock Trading","authors":"Xiliu Man, Jianwu Lin, Yujiu Yang","doi":"10.1109/INDIN45582.2020.9442147","DOIUrl":null,"url":null,"abstract":"Financial news plays an important role in investors' decisions and then influences stock markets. Previous studies mainly focus on establishing sentiment index from financial text and then making stock return prediction and trading strategy based on the index. This procedure demands costly manual label and may not directly correspond to actual stock market reaction. This paper solves this problem by using labels of stocks' residual return as sentiment labels for BERT model training. Distinct from ordinary task, buying or selling action will be taken after judgement of the stock news' sentiment. Hence, weighted cross-entropy loss and cost-sensitive accuracy are used to reveal influence and cost of judgement. Different settings of weighted cross-entropy loss are applied to learn self-adaptively and a selection method is designed to seek capable base classifiers for ensemble learning. This paper then develops a stock trading strategy based on the ensemble BERT model. Experiments and ablation study show the robust effectiveness of our strategy.","PeriodicalId":185948,"journal":{"name":"2020 IEEE 18th International Conference on Industrial Informatics (INDIN)","volume":"21 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-07-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE 18th International Conference on Industrial Informatics (INDIN)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INDIN45582.2020.9442147","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
Financial news plays an important role in investors' decisions and then influences stock markets. Previous studies mainly focus on establishing sentiment index from financial text and then making stock return prediction and trading strategy based on the index. This procedure demands costly manual label and may not directly correspond to actual stock market reaction. This paper solves this problem by using labels of stocks' residual return as sentiment labels for BERT model training. Distinct from ordinary task, buying or selling action will be taken after judgement of the stock news' sentiment. Hence, weighted cross-entropy loss and cost-sensitive accuracy are used to reveal influence and cost of judgement. Different settings of weighted cross-entropy loss are applied to learn self-adaptively and a selection method is designed to seek capable base classifiers for ensemble learning. This paper then develops a stock trading strategy based on the ensemble BERT model. Experiments and ablation study show the robust effectiveness of our strategy.