veighna-global / vnpy_futu

VeighNa框架的富途证券交易接口
https://www.vnpy.com
MIT License
26 stars 15 forks source link

pricetick is always 0.001 in query_contract #6

Open raptoravis opened 1 year ago

raptoravis commented 1 year ago
for ix, row in data.iterrows():
                symbol, exchange = convert_symbol_futu2vt(row["code"])
                contract: ContractData = ContractData(
                    symbol=symbol,
                    exchange=exchange,
                    name=row["name"],
                    product=product,
                    size=row["lot_size"],
                    pricetick=0.001,
                    history_data=True,
                    net_position=True,
                    gateway_name=self.gateway_name,
                )
                self.on_contract(contract)
                self.contracts[contract.vt_symbol] = contract

is there any way to get the correct price tick?