use crate::common::{endpoint::BnEndpoint, executor::BnExecutor};
use typed_builder::TypedBuilder;
pub mod account;
pub mod general;
pub mod market;
pub mod stream;
#[derive(TypedBuilder)]
pub struct BnSpot {
executor: BnExecutor,
}
impl Default for BnSpot {
fn default() -> Self {
Self::builder()
.executor(
BnExecutor::builder()
.endpoint(BnEndpoint::new_spot())
.build(),
)
.build()
}
}