Expose GetFeeByType exchange wrapper

This commit is contained in:
Adrian Gallagher
2019-03-27 16:13:05 +11:00
parent fbc9b0aa97
commit b048539f4c
3 changed files with 11 additions and 5 deletions

View File

@@ -233,3 +233,8 @@ func (b *Bitflyer) GetActiveOrders(getOrdersRequest *exchange.GetOrdersRequest)
func (b *Bitflyer) GetOrderHistory(getOrdersRequest *exchange.GetOrdersRequest) ([]exchange.OrderDetail, error) {
return nil, common.ErrNotYetImplemented
}
// GetFeeByType returns an estimate of fee based on the type of transaction
func (b *Bitflyer) GetFeeByType(feeBuilder *exchange.FeeBuilder) (float64, error) {
return b.GetFee(feeBuilder)
}