MCPcopy Create free account

hub / github.com/Ceruleanacg/Personae / functions

Functions244 in github.com/Ceruleanacg/Personae

Methodget_stock_batch_data
(self, batch_size=32)
deprecated/stock_market.py:105
Methodget_stock_test_data
(self)
deprecated/stock_market.py:115
Functionhandle_bar
(context, bar_dict)
strategy/sample.py:18
Functionhandle_bar
(context, bar_dict)
spider/future_spider.py:32
Functionhandle_bar
(context, bar_dict)
playground/main.py:19
Methodhold
(self, code, stock, _, stock_next)
base/env/trader.py:122
Methodhold
(self, cur_price, next_price)
base/env/position.py:24
Methodhold
(self, code, stock, _, stock_next)
deprecated/stock_market.py:421
Methodhold
(self, cur_price, next_price)
deprecated/stock_market.py:513
Methodholdings_value
(self)
base/env/trader.py:65
Methodholdings_value
(self)
deprecated/stock_market.py:365
Methodindex_code_count
(self)
base/env/market.py:337
Functioninit
(context)
strategy/sample.py:8
Functioninit
(context)
spider/future_spider.py:12
Functioninit
(context)
playground/main.py:4
Methodlog_loss
(self, episode)
base/algorithm/model.py:180
Methodlog_loss
(self, episode)
base/algorithm/model.py:362
Functionplot_profits_series
(base, profits, save_path)
helper/data_ploter.py:22
Functionplot_stock_series
(codes, y, label, save_path, y_desc='Predict', label_desc='Real')
helper/data_ploter.py:7
Methodpredict
(self, a)
base/algorithm/model.py:299
Methodpredict
(self, x)
algorithm/SL/DualAttnRNN.py:77
Methodpredict
(self, x)
algorithm/SL/NaiveLSTM.py:63
Methodpredict
(self, x)
algorithm/SL/TreNet.py:70
Methodprofits
(self)
base/env/trader.py:61
Methodprofits
(self)
deprecated/stock_market.py:361
Methodreset
(self, mode='train')
base/env/market.py:256
Methodreset
(self)
deprecated/stock_market.py:435
Methodrestore
(self)
base/algorithm/model.py:303
Methodrun
(self)
base/algorithm/model.py:91
Methodrun
(self)
base/algorithm/model.py:240
Methodrun
(self)
base/algorithm/model.py:307
Methodsave
(self, step)
base/algorithm/model.py:246
Methodsave_transition
(self, s, a, r, s_next)
base/algorithm/model.py:176
Methodsave_transition
(self, s, a, r, s_n)
base/algorithm/model.py:358
Methodsell
(self, code, stock, amount, stock_next)
base/env/trader.py:103
Methodsell
(self, code, stock, amount, stock_next)
deprecated/stock_market.py:402
Methodstate_code_count
(self)
base/env/market.py:341
Methodto_dic
(self)
base/model/document.py:109
Methodto_state
(self)
base/model/document.py:54
Methodto_state
(self)
base/model/document.py:102
Methodtrain
(self)
base/algorithm/model.py:295
Methodtrain
(self)
algorithm/SL/DualAttnRNN.py:67
Methodtrain
(self)
algorithm/SL/NaiveLSTM.py:53
Methodtrain
(self)
algorithm/SL/TreNet.py:57
← previous201–244 of 244, ranked by callers