Probe both Polymarket outcome books and normalize venue quotes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
mod books;
|
||||
mod probes;
|
||||
use anyhow::{ensure, Result};
|
||||
use reqwest::blocking::Client;
|
||||
@@ -14,7 +15,7 @@ fn main() -> Result<()> {
|
||||
("kalshi", probes::kalshi(&client)),
|
||||
] {
|
||||
match result {
|
||||
Ok(id) => println!("{name}: public catalog and orderbook OK ({id})"),
|
||||
Ok(snapshot) => println!("{snapshot}"),
|
||||
Err(e) => {
|
||||
ok = false;
|
||||
eprintln!("{name}: {e:#}");
|
||||
|
||||
Reference in New Issue
Block a user