Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vnpy/vnpy
/ functions
Functions
769 in github.com/vnpy/vnpy
⨍
Functions
769
◇
Types & classes
105
Function
cs_std
Calculate cross-sectional standard deviation
vnpy/alpha/dataset/cs_function.py:30
Method
delete_bar_data
Delete all bar data with given symbol + exchange + interval.
vnpy/trader/database.py:99
Method
delete_tick_data
Delete all tick data with given symbol + exchange.
vnpy/trader/database.py:111
Method
detail
Output detailed information about the model
vnpy/alpha/model/template.py:26
Method
detail
Output MLP model detail information Returns ------- pd.DataFrame Feature importance dataframe
vnpy/alpha/model/models/mlp_model.py:428
Method
detail
Display model details with feature importance plots Generates two plots showing feature importance based on 'split' and 'gai
vnpy/alpha/model/models/lgb_model.py:149
Method
detail
Output detailed information about the model Displays feature importance based on the coefficients of the LASSO model, showin
vnpy/alpha/model/models/lasso_model.py:112
Method
donchian
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1081
Method
dorpc
(*args: Any, **kwargs: Any)
vnpy/rpc/client.py:61
Method
dx
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:931
Method
edit_global_setting
vnpy/trader/ui/mainwindow.py:336
Method
ema
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:598
Function
excepthook
Show exception detail with QMessageBox.
vnpy/trader/ui/qt.py:46
Method
fetch_raw
Get raw data for a specific segment
vnpy/alpha/dataset/template.py:174
Method
finish_bind
Persist binding result via WechatEngine and refresh the UI.
vnpy/trader/ui/widget.py:1660
Method
fit
Fit the model with dataset
vnpy/alpha/model/template.py:13
Method
fit
Train the multi-layer perceptron model Trains the MLP model using the given dataset, with main steps including: 1. Preparing
vnpy/alpha/model/models/mlp_model.py:137
Method
fit
Fit the model using the dataset Parameters ---------- dataset : AlphaDataset The dataset containing feat
vnpy/alpha/model/models/lgb_model.py:84
Method
fit
Fit the model with dataset Parameters ---------- dataset : AlphaDataset The dataset used for training
vnpy/alpha/model/models/lasso_model.py:40
Function
floor_to
Similar to math.floor function, but to target float number.
vnpy/trader/utility.py:130
Method
forward
Forward propagation calculation Parameters ---------- x : torch.Tensor Input feature tensor, shape (batc
vnpy/alpha/model/models/mlp_model.py:666
Function
ga_evaluate
Functions to be run in genetic algorithm optimization.
vnpy/trader/optimize.py:232
Method
generate
Generate the bar data and call callback immediately.
vnpy/trader/utility.py:474
Function
generate_vt_symbol
return vt_symbol
vnpy/trader/utility.py:31
Method
get_account
Get latest account data by vt_accountid.
vnpy/trader/engine.py:486
Method
get_all_accounts
Get all account data.
vnpy/trader/engine.py:528
Method
get_all_active_quotes
Get all active quotes.
vnpy/trader/engine.py:552
Method
get_all_daily_results
Get all daily profit and loss information
vnpy/alpha/strategy/backtesting.py:778
Method
get_all_orders
Get all order data.
vnpy/trader/engine.py:510
Method
get_all_orders
Get all order information
vnpy/alpha/strategy/backtesting.py:774
Method
get_all_plots
Get all plot objects.
vnpy/chart/widget.py:137
Method
get_all_positions
Get all position data.
vnpy/trader/engine.py:522
Method
get_all_quotes
Get all quote data.
vnpy/trader/engine.py:540
Method
get_all_ticks
Get all tick data.
vnpy/trader/engine.py:504
Method
get_all_trades
Get all trade data.
vnpy/trader/engine.py:516
Method
get_all_trades
Get all trade information
vnpy/alpha/strategy/backtesting.py:770
Method
get_bar_overview
Return bar data avaible in database.
vnpy/trader/database.py:122
Method
get_cash
Legacy compatibility method
vnpy/alpha/strategy/template.py:203
Method
get_cash_available
Get current available cash
vnpy/alpha/strategy/backtesting.py:782
Method
get_converter
Get offset converter object of specific gateway.
vnpy/trader/engine.py:583
Function
get_datafeed
()
vnpy/trader/datafeed.py:39
Method
get_default_setting
Return default setting dict.
vnpy/trader/gateway.py:268
Method
get_holding_value
Get current holding market value
vnpy/alpha/strategy/backtesting.py:786
Method
get_info_text
Get information text to show by cursor.
vnpy/chart/item.py:235
Method
get_info_text
Get information text to show by cursor.
vnpy/chart/item.py:322
Method
get_order
Get latest order data by vt_orderid.
vnpy/trader/engine.py:468
Method
get_plot
Get specific plot with its name.
vnpy/chart/widget.py:131
Method
get_portfolio_value
Get total portfolio value
vnpy/alpha/strategy/template.py:199
Method
get_position
Get latest position data by vt_positionid.
vnpy/trader/engine.py:480
Method
get_quote
Get latest quote data by vt_orderid.
vnpy/trader/engine.py:498
Method
get_signal
Get model prediction signal for current time
vnpy/alpha/strategy/backtesting.py:709
Method
get_tick_overview
Return tick data avaible in database.
vnpy/trader/database.py:129
Method
get_trade
Get trade data by vt_tradeid.
vnpy/trader/engine.py:474
Method
get_y_range
Get range of y-axis with given x-axis range. If min_ix and max_ix not specified, then return range with whole data set.
vnpy/chart/item.py:226
Method
get_y_range
Get range of y-axis with given x-axis range. If min_ix and max_ix not specified, then return range with whole data set.
vnpy/chart/item.py:313
Function
greater
Return the maximum value between two features
vnpy/alpha/dataset/math_function.py:26
Method
high
Get high price time series.
vnpy/trader/utility.py:541
Method
init
Initialize datafeed service connection.
vnpy/trader/datafeed.py:15
Method
init_ui
Connect signal.
vnpy/trader/ui/widget.py:510
Method
init_ui
Connect signal.
vnpy/trader/ui/widget.py:593
Method
initialize
Initialize the build hook
vnpy/trader/locale/build_hook.py:11
Method
is_active
Check if the quote is active.
vnpy/trader/object.py:290
Method
join
(self)
vnpy/rpc/server.py:77
Method
kama
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:613
Method
keltner
(self, n: int, dev: float, array: Literal[False] = False)
vnpy/trader/utility.py:1054
Method
keyPressEvent
Reimplement this method of parent to move chart horizontally and zoom in/out.
vnpy/chart/widget.py:237
Function
less
Return the minimum value between two features
vnpy/alpha/dataset/math_function.py:10
Method
list_all_datasets
List all datasets
vnpy/alpha/lab.py:417
Method
list_all_models
List all models
vnpy/alpha/lab.py:449
Method
list_all_signals
List all signals
vnpy/alpha/lab.py:478
Method
load_bar_data
Load bar data from database.
vnpy/trader/database.py:72
Method
load_bar_df
Load bar data as DataFrame
vnpy/alpha/lab.py:156
Method
load_component_filters
Collect index component duration filters
vnpy/alpha/lab.py:301
Method
load_component_symbols
Collect index component symbols
vnpy/alpha/lab.py:281
Method
load_data
Load historical data
vnpy/alpha/strategy/backtesting.py:112
Method
load_dataset
Load dataset
vnpy/alpha/lab.py:396
Method
load_model
Load model
vnpy/alpha/lab.py:428
Method
load_signal
Load signal
vnpy/alpha/lab.py:459
Method
load_tick_data
Load tick data from database.
vnpy/trader/database.py:86
Function
log
Calculate the natural logarithm of the feature
vnpy/alpha/dataset/math_function.py:43
Method
low
Get low price time series.
vnpy/trader/utility.py:548
Method
macd
(self, fast_period: int, slow_period: int, signal_period: int, array: Literal[False] = False)
vnpy/trader/utility.py:880
Function
main_ui
()
examples/client_server/run_server.py:13
Method
mfi
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1164
Method
minus_di
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:946
Method
minus_dm
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1132
Method
mom
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:679
Function
mutate_individual
(individual: list, indpb: float)
vnpy/trader/optimize.py:155
Method
natr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:850
Method
obv
(self, array: Literal[False] = False)
vnpy/trader/utility.py:805
Method
on_account
Account event push. Account event of a specific vt_accountid is also pushed.
vnpy/trader/gateway.py:125
Method
on_bars
K-line slice callback
vnpy/alpha/strategy/strategies/equity_demo_strategy.py:38
Method
on_contract
Contract event push.
vnpy/trader/gateway.py:147
Method
on_init
Strategy initialization callback
vnpy/alpha/strategy/strategies/equity_demo_strategy.py:25
Method
on_order
Order event push. Order event of a specific vt_orderid is also pushed.
vnpy/trader/gateway.py:109
Method
on_position
Position event push. Position event of a specific vt_symbol is also pushed.
vnpy/trader/gateway.py:117
Method
on_quote
Quote event push. Quote event of a specific vt_symbol is also pushed.
vnpy/trader/gateway.py:133
Method
on_tick
Tick event push. Tick event of a specific vt_symbol is also pushed.
vnpy/trader/gateway.py:93
Method
on_trade
Trade event push. Trade event of a specific vt_symbol is also pushed.
vnpy/trader/gateway.py:101
Method
on_trade
Trade execution callback
vnpy/alpha/strategy/strategies/equity_demo_strategy.py:32
← previous
next →
401–500 of 769, ranked by callers