node-ib icon indicating copy to clipboard operation
node-ib copied to clipboard

contract/future.js defaults

Open andreivirtosu opened this issue 8 years ago • 3 comments

IMO doesn't make sense to put default values in there, it can lead to hard to track errors.

andreivirtosu avatar Oct 20 '16 09:10 andreivirtosu

@yandreiy Please feel free to submit PR to fix this. Thanks-

pilwon avatar Oct 25 '16 14:10 pilwon

All of the contracts have similar defaults. It would be confusing to have one behave differently. Maybe an update to the documentation would be better?

buzzcloudau avatar Jan 13 '17 04:01 buzzcloudau

Destructured parameters would be great too. See #137. Also, the default exchange for futures should be 'GLOBEX', not 'ONE'.

tredondo avatar Dec 07 '18 04:12 tredondo