Skip to content

Instantly share code, notes, and snippets.

@jayhuang75
Created November 6, 2020 19:57
Show Gist options
  • Save jayhuang75/ebe5c73d90d7bc8706a743b930fd9adc to your computer and use it in GitHub Desktop.
Save jayhuang75/ebe5c73d90d7bc8706a743b930fd9adc to your computer and use it in GitHub Desktop.
tradingbot.mod.rs
pub struct TradingBot {
pub trading_config: TradingConfig,
pub market: Box<dyn Market>,
}
@jayhuang75
Copy link
Author

It depends on how you want to implement your integration with what configuration you need for your design. I hope this can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment