Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ceruleanacg/Personae
/ functions
Functions
244 in github.com/Ceruleanacg/Personae
⨍
Functions
244
◇
Types & classes
28
Method
get_stock_batch_data
(self, batch_size=32)
deprecated/stock_market.py:105
Method
get_stock_test_data
(self)
deprecated/stock_market.py:115
Function
handle_bar
(context, bar_dict)
strategy/sample.py:18
Function
handle_bar
(context, bar_dict)
spider/future_spider.py:32
Function
handle_bar
(context, bar_dict)
playground/main.py:19
Method
hold
(self, code, stock, _, stock_next)
base/env/trader.py:122
Method
hold
(self, cur_price, next_price)
base/env/position.py:24
Method
hold
(self, code, stock, _, stock_next)
deprecated/stock_market.py:421
Method
hold
(self, cur_price, next_price)
deprecated/stock_market.py:513
Method
holdings_value
(self)
base/env/trader.py:65
Method
holdings_value
(self)
deprecated/stock_market.py:365
Method
index_code_count
(self)
base/env/market.py:337
Function
init
(context)
strategy/sample.py:8
Function
init
(context)
spider/future_spider.py:12
Function
init
(context)
playground/main.py:4
Method
log_loss
(self, episode)
base/algorithm/model.py:180
Method
log_loss
(self, episode)
base/algorithm/model.py:362
Function
plot_profits_series
(base, profits, save_path)
helper/data_ploter.py:22
Function
plot_stock_series
(codes, y, label, save_path, y_desc='Predict', label_desc='Real')
helper/data_ploter.py:7
Method
predict
(self, a)
base/algorithm/model.py:299
Method
predict
(self, x)
algorithm/SL/DualAttnRNN.py:77
Method
predict
(self, x)
algorithm/SL/NaiveLSTM.py:63
Method
predict
(self, x)
algorithm/SL/TreNet.py:70
Method
profits
(self)
base/env/trader.py:61
Method
profits
(self)
deprecated/stock_market.py:361
Method
reset
(self, mode='train')
base/env/market.py:256
Method
reset
(self)
deprecated/stock_market.py:435
Method
restore
(self)
base/algorithm/model.py:303
Method
run
(self)
base/algorithm/model.py:91
Method
run
(self)
base/algorithm/model.py:240
Method
run
(self)
base/algorithm/model.py:307
Method
save
(self, step)
base/algorithm/model.py:246
Method
save_transition
(self, s, a, r, s_next)
base/algorithm/model.py:176
Method
save_transition
(self, s, a, r, s_n)
base/algorithm/model.py:358
Method
sell
(self, code, stock, amount, stock_next)
base/env/trader.py:103
Method
sell
(self, code, stock, amount, stock_next)
deprecated/stock_market.py:402
Method
state_code_count
(self)
base/env/market.py:341
Method
to_dic
(self)
base/model/document.py:109
Method
to_state
(self)
base/model/document.py:54
Method
to_state
(self)
base/model/document.py:102
Method
train
(self)
base/algorithm/model.py:295
Method
train
(self)
algorithm/SL/DualAttnRNN.py:67
Method
train
(self)
algorithm/SL/NaiveLSTM.py:53
Method
train
(self)
algorithm/SL/TreNet.py:57
← previous
201–244 of 244, ranked by callers