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
Method
__init__
(self, type: str, data: Any = None)
vnpy/event/engine.py:23
Method
__init__
Timer event is generated every 1 second by default, if interval not specified.
vnpy/event/engine.py:42
Method
__init__
Constructor
examples/simple_rpc/test_client.py:11
Method
__init__
Constructor
examples/simple_rpc/test_server.py:11
Method
__le__
Less than or equal comparison
vnpy/alpha/dataset/utility.py:178
Method
__lt__
Sort by text content.
vnpy/trader/ui/widget.py:91
Method
__lt__
Less than comparison
vnpy/alpha/dataset/utility.py:170
Method
__mod__
Modulo operation
vnpy/alpha/dataset/utility.py:128
Method
__mul__
Multiplication operation
vnpy/alpha/dataset/utility.py:88
Method
__ne__
Not equal comparison
vnpy/alpha/dataset/utility.py:194
Method
__neg__
Negation operation
vnpy/alpha/dataset/utility.py:149
Method
__post_init__
(self)
vnpy/trader/object.py:82
Method
__post_init__
(self)
vnpy/trader/object.py:106
Method
__post_init__
(self)
vnpy/trader/object.py:132
Method
__post_init__
(self)
vnpy/trader/object.py:171
Method
__post_init__
(self)
vnpy/trader/object.py:194
Method
__post_init__
(self)
vnpy/trader/object.py:212
Method
__post_init__
(self)
vnpy/trader/object.py:227
Method
__post_init__
(self)
vnpy/trader/object.py:259
Method
__post_init__
(self)
vnpy/trader/object.py:285
Method
__post_init__
(self)
vnpy/trader/object.py:315
Method
__post_init__
(self)
vnpy/trader/object.py:335
Method
__post_init__
(self)
vnpy/trader/object.py:368
Method
__post_init__
(self)
vnpy/trader/object.py:385
Method
__post_init__
(self)
vnpy/trader/object.py:406
Method
__pow__
Power operation
vnpy/alpha/dataset/utility.py:136
Method
__radd__
Right addition operation
vnpy/alpha/dataset/utility.py:64
Method
__rmul__
Right multiplication operation
vnpy/alpha/dataset/utility.py:96
Method
__rsub__
Right subtraction operation
vnpy/alpha/dataset/utility.py:80
Method
__rtruediv__
Right division operation
vnpy/alpha/dataset/utility.py:112
Method
__str__
Output error message
vnpy/rpc/client.py:22
Method
__sub__
Subtraction operation
vnpy/alpha/dataset/utility.py:72
Method
__truediv__
Division operation
vnpy/alpha/dataset/utility.py:104
Method
_check_tensor_nan
Check if tensor contains NaN values Parameters ---------- tensor : torch.Tensor Tensor to check
vnpy/alpha/model/models/mlp_model.py:410
Method
_copy_text
(self)
vnpy/trader/ui/qt.py:118
Method
_draw_bar_picture
(self, ix: int, bar: BarData)
vnpy/chart/item.py:175
Method
_draw_bar_picture
(self, ix: int, bar: BarData)
vnpy/chart/item.py:275
Method
_mouse_moved
Callback function when mouse is moved.
vnpy/chart/widget.py:423
Method
_open_community
(self)
vnpy/trader/ui/qt.py:123
Method
_run
Get event from queue and then process it.
vnpy/event/engine.py:55
Method
_run_timer
Sleep by interval second(s) and then generate a timer event.
vnpy/event/engine.py:80
Method
_update_y_range
Update the y-axis range of plots.
vnpy/chart/widget.py:206
Method
ad
(self, array: Literal[False] = False)
vnpy/trader/utility.py:1179
Method
add_contract_setting
Add contract information
vnpy/alpha/lab.py:349
Method
add_parameter
( self, name: str, start: float, end: float | None = None, step: float
vnpy/trader/optimize.py:36
Method
add_processor
Add a feature preprocessor
vnpy/alpha/dataset/template.py:81
Method
add_strategy
Add strategy
vnpy/alpha/strategy/backtesting.py:104
Method
add_trade
Add trade information
vnpy/alpha/strategy/backtesting.py:899
Method
adosc
(self, fast_period: int, slow_period: int, array: Literal[False] = False)
vnpy/trader/utility.py:1194
Method
adx
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:901
Method
adxr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:916
Method
apo
(self, fast_period: int, slow_period: int, matype: int = 0, array: Literal[False] = False)
vnpy/trader/utility.py:643
Method
aroon
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1098
Method
aroonosc
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:1116
Method
atr
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:835
Method
boll
(self, n: int, dev: float, array: Literal[False] = False)
vnpy/trader/utility.py:1027
Method
bop
(self, array: Literal[False] = False)
vnpy/trader/utility.py:1214
Method
boundingRect
Get bounding rectangles for item.
vnpy/chart/item.py:52
Method
boundingRect
(self)
vnpy/chart/item.py:215
Method
boundingRect
(self)
vnpy/chart/item.py:302
Function
calculate_feature
Calculate feature by expression
vnpy/alpha/dataset/template.py:289
Method
calculate_pnl
Calculate profit and loss
vnpy/alpha/strategy/backtesting.py:904
Method
calculate_result
Calculate daily mark-to-market profit and loss
vnpy/alpha/strategy/backtesting.py:170
Method
calculate_statistics
Calculate strategy statistics
vnpy/alpha/strategy/backtesting.py:228
Method
callback
Realize callable function
examples/simple_rpc/test_client.py:17
Method
cancel_all
Cancel all active orders.
vnpy/trader/ui/widget.py:1025
Method
cancel_bind
Cancel binding process and return to status page.
vnpy/trader/ui/widget.py:1678
Method
cancel_order
Cancel an existing order. implementation should finish the tasks blow: * send request to server
vnpy/trader/gateway.py:215
Method
cancel_order
Send cancel order request to a specific gateway.
vnpy/trader/engine.py:266
Method
cancel_order
Cancel order
vnpy/alpha/strategy/backtesting.py:756
Method
cancel_quote
Cancel an existing quote. implementation should finish the tasks blow: * send request to server
vnpy/trader/gateway.py:240
Method
cancel_quote
Send cancel quote request to a specific gateway.
vnpy/trader/engine.py:288
Method
cancel_quote
Cancel quote if cell double clicked.
vnpy/trader/ui/widget.py:602
Method
cci
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:820
Function
ceil_to
Similar to math.ceil function, but to target float number.
vnpy/trader/utility.py:140
Method
change_interval
Persist send interval updates from the status page.
vnpy/trader/ui/widget.py:1699
Function
check_optimization_setting
( optimization_setting: OptimizationSetting, output: OUTPUT_FUNC = print )
vnpy/trader/optimize.py:83
Method
clear_all
Clear all data.
vnpy/chart/widget.py:143
Method
clear_all
Clear all data.
vnpy/chart/widget.py:544
Method
clear_all
Clear all data in the item.
vnpy/chart/item.py:159
Method
clear_all
Clear all data in manager.
vnpy/chart/manager.py:162
Method
close
Get close price time series.
vnpy/trader/utility.py:555
Method
close
Close gateway connection.
vnpy/trader/gateway.py:183
Method
close
(self)
vnpy/trader/engine.py:648
Method
close
(self)
vnpy/trader/engine.py:836
Method
closeEvent
Call main engine close function before exit.
vnpy/trader/ui/mainwindow.py:256
Method
closeEvent
Stop the binding worker before closing the dialog.
vnpy/trader/ui/widget.py:1704
Method
cmo
(self, n: int, array: Literal[False] = False)
vnpy/trader/utility.py:664
Method
connect
Start gateway connection. to implement this method, you must: * connect to server if necessary * log connected if al
vnpy/trader/gateway.py:161
Method
connect_gateway
Open connect dialog for gateway connection.
vnpy/trader/ui/mainwindow.py:249
Method
connect_gateway
Get setting value from line edits and connect the gateway.
vnpy/trader/ui/widget.py:679
Method
contextMenuEvent
Show menu with right click.
vnpy/trader/ui/widget.py:398
Method
convert_order_request
( self, req: OrderRequest, lock: bool, net: bool = False )
vnpy/trader/converter.py:367
Method
convert_order_request
Convert original order request according to given mode.
vnpy/trader/engine.py:566
Function
convert_tz
Convert timezone of datetime object to DB_TZ.
vnpy/trader/database.py:17
Method
create_cancel_request
Create cancel request object from quote.
vnpy/trader/object.py:296
Method
create_quote_data
Create quote data from request.
vnpy/trader/object.py:410
Function
cs_mean
Calculate cross-sectional mean
vnpy/alpha/dataset/cs_function.py:20
Function
cs_rank
Perform cross-sectional ranking
vnpy/alpha/dataset/cs_function.py:10
Function
cs_scale
Scale the feature by the sum of absolute values in the cross section
vnpy/alpha/dataset/cs_function.py:50
← previous
next →
301–400 of 769, ranked by callers