Order : volume int, number or Double

Added by Dorte over 5 years ago

Hi,
I find i quite distubing that volume changes type depending on where it is used:

POST/PUT says integer
GET says number
Swagger generated code is Double

A related question: is it not possible to trade fractions of instruments?

Kind regards
Dorte


Replies (1)

RE: Order : volume int, number or Double - Added by Nordnet Simon over 5 years ago

Hi, today it is only possible to set trade volume as integer. The markets we support in nExt only supports integers. The reply returns numbers because we might in the future add support for mutual funds that are traded in fractions. So in theory we can add mutual fund orders without breaking the interface with the current setup.

(1-1/1)