pub struct BithumbInstrument {
pub symbol: String,
pub base_currency: String,
pub quote_currency: String,
pub min_price: Decimal,
pub max_price: Decimal,
pub price_tick: Decimal,
pub min_quantity: Decimal,
pub max_quantity: Decimal,
}Expand description
Bithumb instrument implementation
Fields§
§symbol: StringTrading pair symbol (e.g., “KRW-BTC”)
base_currency: StringBase currency (e.g., “BTC”)
quote_currency: StringQuote currency (e.g., “KRW”)
min_price: DecimalMinimum allowed price for orders
max_price: DecimalMaximum allowed price for orders
price_tick: DecimalMinimum price increment (tick size)
min_quantity: DecimalMinimum order quantity
max_quantity: DecimalMaximum order quantity
Trait Implementations§
Source§impl Clone for BithumbInstrument
impl Clone for BithumbInstrument
Source§fn clone(&self) -> BithumbInstrument
fn clone(&self) -> BithumbInstrument
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BithumbInstrument
impl Debug for BithumbInstrument
Source§impl Instrument for BithumbInstrument
impl Instrument for BithumbInstrument
Source§fn id(&self) -> InstrumentId
fn id(&self) -> InstrumentId
Get the instrument ID
Source§fn clone_box(&self) -> Box<dyn Instrument>
fn clone_box(&self) -> Box<dyn Instrument>
Clone this instrument into a new box
Auto Trait Implementations§
impl Freeze for BithumbInstrument
impl RefUnwindSafe for BithumbInstrument
impl Send for BithumbInstrument
impl Sync for BithumbInstrument
impl Unpin for BithumbInstrument
impl UnwindSafe for BithumbInstrument
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more