extern crate arbitrage; use arbitrage::check; fn main() { // Example from https://www.investopedia.com/terms/t/triangulararbitrage.asp let result = check(0.8631, 1.46, 1.6939, 1_000_000.0, 0.00); println!("{:#?}", result); }