vnpy_futu icon indicating copy to clipboard operation
vnpy_futu copied to clipboard

pricetick is always 0.001 in query_contract

Open raptoravis opened this issue 1 year ago • 0 comments

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?

raptoravis avatar May 31 '23 02:05 raptoravis