diff --git a/Cargo.lock b/Cargo.lock index be6e69639..adc3b8148 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4057,6 +4057,7 @@ dependencies = [ "futures-util", "getrandom 0.2.16", "hex", + "ibapi", "indicatif", "jsonwebtoken", "keyring", diff --git a/bin/fxt/src/commands/broker.rs b/bin/fxt/src/commands/broker.rs index 16cc0ccc7..fb8cd9184 100644 --- a/bin/fxt/src/commands/broker.rs +++ b/bin/fxt/src/commands/broker.rs @@ -413,7 +413,7 @@ mod tests { assert_eq!(resolved.ibkr_host, "127.0.0.1"); assert_eq!(resolved.ibkr_port, 4004); assert_eq!(resolved.ibkr_client_id, 99); - assert_eq!(resolved.gateway_url, "http://localhost:50060"); + assert_eq!(resolved.gateway_url, "http://localhost:50056"); assert!(!resolved.skip_ibkr); assert!(!resolved.skip_gateway); } diff --git a/bin/fxt/src/config.rs b/bin/fxt/src/config.rs index 5c6748c69..dc277dbdd 100644 --- a/bin/fxt/src/config.rs +++ b/bin/fxt/src/config.rs @@ -65,7 +65,7 @@ pub struct BrokerConfig { } fn default_broker_gateway_url() -> String { - "http://localhost:50060".to_owned() + "http://localhost:50056".to_owned() } impl Default for BrokerConfig { @@ -272,7 +272,7 @@ mod tests { #[test] fn test_config_broker_defaults() { let config: TliConfig = toml::from_str("").unwrap(); - assert_eq!(config.broker.gateway_url, "http://localhost:50060"); + assert_eq!(config.broker.gateway_url, "http://localhost:50056"); assert_eq!(config.broker.ibkr.host, "127.0.0.1"); assert_eq!(config.broker.ibkr.port, 4004); assert_eq!(config.broker.ibkr.client_id, 99);