Skip to content

The router can have a max bid price by currency - #136

Open
daedric wants to merge 2 commits into
rtbkit:masterfrom
daedric:currency2
Open

The router can have a max bid price by currency#136
daedric wants to merge 2 commits into
rtbkit:masterfrom
daedric:currency2

Conversation

@daedric

@daedric daedric commented Jan 24, 2014

Copy link
Copy Markdown
Contributor

No description provided.

@daedric

daedric commented Jan 30, 2014

Copy link
Copy Markdown
Contributor Author

Any comment ?

@daedric

daedric commented Jan 30, 2014

Copy link
Copy Markdown
Contributor Author

const added

@oktal

oktal commented Feb 3, 2014

Copy link
Copy Markdown

Hello,

The idea behind this Pull Request is good.

Concerning the implementation, I was suggesting using the CurrencyPool class rather than std::vector. CurrencyPool has a getAvailable member function which you can use to retrieve the available amount corresponding to the given CurrencyCode. Even though it consists of a loop versus a map lookup, I don't think it will impact performances.

What do you think ?

@daedric

daedric commented Feb 3, 2014

Copy link
Copy Markdown
Contributor Author

I agree on the performances. I currently don't have the time to do the update.
I'll do it ASAP :)

Thanks for the review

jeremybarnes referenced this pull request in datacratic/rtbkit Sep 26, 2014
…iptions

Less inline code in value descriptions (TRIVIAL)
oktal pushed a commit that referenced this pull request Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants