nkaz001 / hftbacktest

A high-frequency trading and market-making backtesting and trading bot in Python and Rust, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books, with real-world crypto market-making examples for Binance Futures
MIT License
2.01k stars 395 forks source link

Live Rust : Default config file found but unable to read data #159

Open gaugau3000 opened 1 week ago

gaugau3000 commented 1 week ago

Hi,

First many TKS for this beautiful software !

When i try to run : hft_backtest/hftbacktest/connector

Using

cargo run main binancefutures ./examples/binancefutures.toml

I got this warning : 2024-11-14T01:09:45.742671Z WARN iceoryx2_bb_log::logger::tracing: Default config file found but unable to read data, populate config with default values. origin="Config::global_config()"

Not sure if it is a false positive or not.

# Testnet: wss://fstream.binancefuture.com/ws
# Mainnet: wss://fstream.binance.com/ws
# Private: wss://fstream-auth.binance.com/ws
# Low-Latency Market Maker: wss://fstream-mm.binance.com/ws
stream_url = "wss://fstream.binance.com/ws"

# Testnet: https://testnet.binancefuture.com
# Mainnet: https://fapi.binance.com
# Low-Latency Market Maker: https://fapi-mm.binance.com
api_url = "https://fapi.binance.com"

order_prefix = "test"
api_key = "******"
secret = "******"

Many tks.

nkaz001 commented 5 days ago

The warning relates to the iceoryx configuration, not the Connector configuration. You can disregard this warning, as the configuration is currently hard-coded.