1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-01 18:11:18 +08:00

Update __init__.py

This commit is contained in:
you-n-g
2021-11-18 18:22:09 +08:00
committed by GitHub
parent 0b3b95f22f
commit d4b56d97b5

View File

@@ -50,11 +50,12 @@ def get_exchange(
subscribe_fields: list
subscribe fields.
open_cost : float
open transaction cost.
open transaction cost. It is a ratio. The cost is proportional to your order's deal amount.
close_cost : float
close transaction cost.
close transaction cost. It is a ratio. The cost is proportional to your order's deal amount.
min_cost : float
min transaction cost.
min transaction cost. It is an absolute amount of cost instead of a ratio of your order's deal amount.
e.g. You must pay at least 5 yuan of commission regardless of your order's deal amount.
trade_unit : int
Included in kwargs. Please refer to the docs of `__init__` of `Exchange`
deal_price: Union[str, Tuple[str], List[str]]