Thomas Eizinger
3 years ago
4 changed files with 24 additions and 2 deletions
@ -0,0 +1,13 @@ |
|||||
|
use crate::model::{Leverage, Usd}; |
||||
|
use anyhow::Result; |
||||
|
use bdk::bitcoin; |
||||
|
use cfd_protocol::Payout; |
||||
|
|
||||
|
pub fn calculate( |
||||
|
_price: Usd, |
||||
|
_quantity: Usd, |
||||
|
_maker_payin: bitcoin::Amount, |
||||
|
(_taker_payin, _leverage): (bitcoin::Amount, Leverage), |
||||
|
) -> Result<Vec<Payout>> { |
||||
|
Ok(vec![]) |
||||
|
} |
Loading…
Reference in new issue