nash-io / openlimits

A Rust high performance cryptocurrency trading API with support for multiple exchanges and language wrappers.
http://openlimits.io
BSD 2-Clause "Simplified" License
276 stars 44 forks source link

file working like provided example #54

Closed Ejhfast closed 4 years ago

Ejhfast commented 4 years ago

this file should also now work using the approach you were trying for, though could be some other gotchas when changing the surrounding files. if you need ExchangeInfo to be shared, can wrap that instantiated struct itself in an Arc in whatever struct is managing it