Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

tradeservice implementation #2

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

scuevas-bc
Copy link

No description provided.

@scuevas-bc scuevas-bc requested a review from fvelazquez-bc June 14, 2022 12:25
.maximumAmount(maxAmount)
.build();
currencyPairs.put(pair, currencyPairMetaData);
currency.put(entry.getValue().getBaseCurrency(), null);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why null?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be the currencyMetadata CurrencyMetaData(Integer scale, BigDecimal withdrawalFee) of which we only have the scale and no other data .... so I left it in null.
But I can build the currency with only the scale.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants