Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vnpy/vnpy
/ functions
Functions
769 in github.com/vnpy/vnpy
⨍
Functions
769
◇
Types & classes
105
↓ 1 callers
Function
main
()
examples/veighna_trader/run.py:38
↓ 1 callers
Function
main_terminal
()
examples/client_server/run_server.py:37
↓ 1 callers
Method
move_left
Move cursor index to left by 1.
vnpy/chart/widget.py:521
↓ 1 callers
Method
move_right
Move cursor index to right by 1.
vnpy/chart/widget.py:511
↓ 1 callers
Method
new_bars
Push historical data
vnpy/alpha/strategy/backtesting.py:579
↓ 1 callers
Method
on_bars
Bar slice callback
vnpy/alpha/strategy/template.py:49
↓ 1 callers
Method
on_disconnected
Callback when heartbeat is lost.
vnpy/rpc/client.py:164
↓ 1 callers
Method
on_hour_bar
(self, bar: BarData)
vnpy/trader/utility.py:390
↓ 1 callers
Method
on_init
Initialization callback
vnpy/alpha/strategy/template.py:44
↓ 1 callers
Method
on_log
Log event push.
vnpy/trader/gateway.py:141
↓ 1 callers
Method
on_trade
Trade callback
vnpy/alpha/strategy/template.py:54
↓ 1 callers
Function
poll
Long-poll inbound messages from iLink. Returns a tuple of (user IDs, next sync_buf).
vnpy/trader/wechat.py:87
↓ 1 callers
Method
process_event
Process new data from event and update into table.
vnpy/trader/ui/widget.py:306
↓ 1 callers
Method
register_event
(self)
vnpy/trader/engine.py:384
↓ 1 callers
Method
register_event
Register event handler into event engine.
vnpy/trader/ui/widget.py:298
↓ 1 callers
Method
register_event
(self)
vnpy/trader/ui/widget.py:868
↓ 1 callers
Method
register_log
Register log event handler
vnpy/trader/engine.py:355
↓ 1 callers
Function
request_qrcode
Request a new QR code from iLink. Returns a tuple of (qrcode, scan_url).
vnpy/trader/wechat.py:122
↓ 1 callers
Method
reset
Reset all statistics Returns ------- None
vnpy/alpha/model/models/mlp_model.py:519
↓ 1 callers
Function
run_parent
Running in the parent process.
examples/no_ui/run.py:97
↓ 1 callers
Function
run_recorder
运行行情录制程序 该函数是程序的主体,按照以下步骤工作: 1. 创建VeighNa核心组件(事件引擎、主引擎) 2. 添加交易接口和应用模块 3. 设置数据录制规则 4. 连接到交易所并开始录制数据
examples/data_recorder/data_recorder.py:65
↓ 1 callers
Method
sell
Sell to close position
vnpy/alpha/strategy/template.py:82
↓ 1 callers
Function
send_text
Send a text message to the specified user.
vnpy/trader/wechat.py:57
↓ 1 callers
Method
set_content
Set text content.
vnpy/trader/ui/widget.py:76
↓ 1 callers
Method
set_vt_symbol
Set the tick depth data to monitor by vt_symbol.
vnpy/trader/ui/widget.py:915
↓ 1 callers
Method
short
Sell to open position
vnpy/alpha/strategy/template.py:86
↓ 1 callers
Method
start
Start WeChat sending worker.
vnpy/trader/engine.py:753
↓ 1 callers
Method
subscribe_topic
Subscribe data
vnpy/rpc/client.py:158
↓ 1 callers
Function
ts_corr
Calculate the correlation between two features over a rolling window
vnpy/alpha/dataset/ts_function.py:226
↓ 1 callers
Function
ts_delay
Get the value from a fixed time in the past
vnpy/alpha/dataset/ts_function.py:12
↓ 1 callers
Method
update_bar
Update single bar data.
vnpy/chart/item.py:87
↓ 1 callers
Method
update_bar_daily_window
(self, bar: BarData)
vnpy/trader/utility.py:430
↓ 1 callers
Method
update_bar_hour_window
(self, bar: BarData)
vnpy/trader/utility.py:311
↓ 1 callers
Method
update_bar_minute_window
(self, bar: BarData)
vnpy/trader/utility.py:273
↓ 1 callers
Method
update_close_price
Update daily close price
vnpy/alpha/strategy/backtesting.py:870
↓ 1 callers
Method
update_close_prices
Update daily close prices
vnpy/alpha/strategy/backtesting.py:935
↓ 1 callers
Method
update_daily_close
Update daily closing price
vnpy/alpha/strategy/backtesting.py:561
↓ 1 callers
Method
update_history
Update a list of bar data.
vnpy/chart/item.py:74
↓ 1 callers
Method
update_old_row
Update an old row in table.
vnpy/trader/ui/widget.py:352
↓ 1 callers
Method
update_order_request
(self, req: OrderRequest, vt_orderid: str)
vnpy/trader/converter.py:64
↓ 1 callers
Method
update_trade
Update trade data
vnpy/alpha/strategy/template.py:58
↓ 1 callers
Function
wait_for_login
Poll QR-code status until confirmed, expired or deadline reached. Returns Credentials on confirmation, or None if expired or deadline reache
vnpy/trader/wechat.py:145
↓ 1 callers
Method
write_log
Write log message
vnpy/alpha/strategy/template.py:187
Method
__abs__
Get absolute value
vnpy/alpha/dataset/utility.py:144
Method
__add__
Addition operation
vnpy/alpha/dataset/utility.py:56
Method
__eq__
Equal comparison
vnpy/alpha/dataset/utility.py:186
Method
__floordiv__
Floor division operation
vnpy/alpha/dataset/utility.py:120
Method
__ge__
Greater than or equal comparison
vnpy/alpha/dataset/utility.py:162
Method
__getattr__
Realize remote call function
vnpy/rpc/client.py:56
Method
__gt__
Greater than comparison
vnpy/alpha/dataset/utility.py:154
Method
__init__
(self, manager: BarManager, *args: Any, **kwargs: Any)
vnpy/chart/axis.py:13
Method
__init__
( self, widget: ChartWidget, manager: BarManager, plots: dict[str, pg.Graphics
vnpy/chart/widget.py:327
Method
__init__
(self, manager: BarManager)
vnpy/chart/item.py:171
Method
__init__
(self, manager: BarManager)
vnpy/chart/item.py:271
Method
__init__
(self)
vnpy/chart/manager.py:12
Method
__init__
Constructor
vnpy/trader/utility.py:176
Method
__init__
Constructor
vnpy/trader/utility.py:495
Method
__init__
(self, contract: ContractData)
vnpy/trader/converter.py:20
Method
__init__
(self, oms_engine: "OmsEngine")
vnpy/trader/converter.py:313
Method
__init__
(self, event_engine: EventEngine, gateway_name: str)
vnpy/trader/gateway.py:81
Method
__init__
( self, main_engine: "MainEngine", event_engine: EventEngine, engine_name: str
vnpy/trader/engine.py:65
Method
__init__
(self, event_engine: EventEngine | None = None)
vnpy/trader/engine.py:86
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/engine.py:365
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/engine.py:595
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/engine.py:664
Method
__init__
(self)
vnpy/trader/optimize.py:31
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/ui/mainwindow.py:45
Method
__init__
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:65
Method
__init__
(self, content: Enum, data: Any)
vnpy/trader/ui/widget.py:104
Method
__init__
(self, content: Enum, data: Any)
vnpy/trader/ui/widget.py:121
Method
__init__
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:154
Method
__init__
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:166
Method
__init__
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:190
Method
__init__
(self, content: Any, data: Any)
vnpy/trader/ui/widget.py:217
Method
__init__
(self, content: str, data: Any)
vnpy/trader/ui/widget.py:235
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/ui/widget.py:253
Method
__init__
(self, main_engine: MainEngine, gateway_name: str)
vnpy/trader/ui/widget.py:616
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/ui/widget.py:711
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/ui/widget.py:1107
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/ui/widget.py:1189
Method
__init__
(self)
vnpy/trader/ui/widget.py:1236
Method
__init__
(self)
vnpy/trader/ui/widget.py:1318
Method
__init__
(self, main_engine: MainEngine, event_engine: EventEngine)
vnpy/trader/ui/widget.py:1381
Method
__init__
(self, parent: QtWidgets.QWidget | None = None)
vnpy/trader/ui/qt.py:78
Method
__init__
Constructor
vnpy/rpc/client.py:16
Method
__init__
Constructor
vnpy/rpc/client.py:32
Method
__init__
Constructor
vnpy/rpc/server.py:14
Method
__init__
Constructor
vnpy/alpha/lab.py:23
Method
__init__
Constructor
vnpy/alpha/dataset/utility.py:22
Method
__init__
Constructor
vnpy/alpha/dataset/template.py:26
Method
__init__
Constructor
vnpy/alpha/dataset/datasets/alpha_158.py:9
Method
__init__
Constructor
vnpy/alpha/dataset/datasets/alpha_101.py:9
Method
__init__
Constructor
vnpy/alpha/strategy/backtesting.py:27
Method
__init__
Constructor
vnpy/alpha/strategy/backtesting.py:802
Method
__init__
Constructor
vnpy/alpha/strategy/backtesting.py:878
Method
__init__
Constructor
vnpy/alpha/strategy/template.py:18
Method
__init__
Initialize AverageMeter Returns ------- None
vnpy/alpha/model/models/mlp_model.py:509
Method
__init__
Constructor Parameters ---------- input_size : int Input feature dimension, i.e., number of features per
vnpy/alpha/model/models/mlp_model.py:566
Method
__init__
Parameters ---------- learning_rate : float Learning rate num_leaves : int Number of leaf nod
vnpy/alpha/model/models/lgb_model.py:15
Method
__init__
Parameters ---------- alpha : float Regularization parameter max_iter : int Maximum number of
vnpy/alpha/model/models/lasso_model.py:16
← previous
next →
201–300 of 769, ranked by callers