Hi,
how can I set the size for orders on Crypto?
from the Java doc (SimpleOrdeRSendParameters) it says sizeMultiplier is depecrated, is there other way to set the order size as double?
Thanks,
SimpleOrderSendParameters for Crypto
-
- Posts: 24
- Joined: Wed May 26, 2021 12:13 pm
- Has thanked: 2 times
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: SimpleOrderSendParameters for Crypto
When you are subscribing to crypto, you select size multiplier. Afterwards your integer order size changes meaning so that 1 is effectively 1/sizeMultiplier
Could you clarify where it says that sizeMultiplier is deprecated? "InstrumentInfoCrypto" is deprecated, but that's just because everything was moved to the parent class and it's no longer necessary.
Could you clarify where it says that sizeMultiplier is deprecated? "InstrumentInfoCrypto" is deprecated, but that's just because everything was moved to the parent class and it's no longer necessary.
-
- Posts: 24
- Joined: Wed May 26, 2021 12:13 pm
- Has thanked: 2 times
Re: SimpleOrderSendParameters for Crypto
Thanks for your reply.
I was referring to the SimpleOrderSendParameters class where on the java doc it says that this is deprecated: double sizeMultiplier Deprecated.
- like you said it is not needed
.
I was referring to the SimpleOrderSendParameters class where on the java doc it says that this is deprecated: double sizeMultiplier Deprecated.
- like you said it is not needed
![Smile :)](./images/smilies/icon_e_smile.gif)