Overload methods on EtdIdUtils to take EtdContractSpec and security instances #1497

Closed
cjkent opened this Issue Mar 13, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@cjkent
Member

cjkent commented Mar 13, 2017

EtdIdUtils has helper methods to create IDs for EtdContractSpec, EtdOptionSecurity and EtdFutureSecurity. These methods have separate parameters for each item of information, for example the exchange ID and contract code.

There are cases where you need to generate an ID from an existing contract spec or security and it would be useful if there were overloads for this.

@cjkent cjkent changed the title from Overload method on EtdIdUtils to take EtdContractSpec and security instances to Overload methods on EtdIdUtils to take EtdContractSpec and security instances Mar 13, 2017

@jodastephen

This comment has been minimized.

Show comment
Hide comment
@jodastephen

jodastephen Mar 30, 2017

Member

EtdFutureSecurity.of() already exists to do this? Or am I missing something.

Member

jodastephen commented Mar 30, 2017

EtdFutureSecurity.of() already exists to do this? Or am I missing something.

@cjkent

This comment has been minimized.

Show comment
Hide comment
@cjkent

cjkent Mar 30, 2017

Member

No, it was me that was missing something :)

Member

cjkent commented Mar 30, 2017

No, it was me that was missing something :)

@cjkent cjkent closed this Mar 30, 2017

@jodastephen jodastephen modified the milestone: v1.3 May 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment