Skip to main content

derive_crypto_venue

Function derive_crypto_venue 

Source
pub fn derive_crypto_venue(contract: &Contract) -> Venue
Expand description

Derives the venue for a crypto contract.

IB routes crypto to multiple venues; both PAXOS and ZEROHASH are live (which one applies depends on the account/region). Uses the contract’s actual exchange when set (e.g. ZEROHASH or PAXOS), falling back to PAXOS when it is unspecified.