I'm trying to get my head around the customerRef part of placeOrders, and whether I can use it for my requirements.
If I have multiple bots placing orders, can I pass the API a non-unique reference, so that I can identify which of my bots has made which orders?
It's the whole "de-dupe" stuff that I do not understand.
Optional parameter allowing the client to pass a unique string (up to 32 chars) that is used to de-dupe mistaken re-submissions. CustomerRef can contain: upper/lower chars, digits, chars : - . _ + * : ; ~ only. Please note: There is a time window associated with the de-duplication of duplicate submissions which is 60 seconds.
eg. if I pass a reference in an order of "D", will all other orders also having the ref of "D" get bounced (for up to 60 seconds)? Or only orders containing the ref "D" in the same market, or selection?
IOW - how does one know which bot made which order without keeping this in their own records? I'd like to eliminate the db (or any read/write) from my bots and this might be something that'll make or break this idea.
Cheers.
If I have multiple bots placing orders, can I pass the API a non-unique reference, so that I can identify which of my bots has made which orders?
It's the whole "de-dupe" stuff that I do not understand.
Optional parameter allowing the client to pass a unique string (up to 32 chars) that is used to de-dupe mistaken re-submissions. CustomerRef can contain: upper/lower chars, digits, chars : - . _ + * : ; ~ only. Please note: There is a time window associated with the de-duplication of duplicate submissions which is 60 seconds.
eg. if I pass a reference in an order of "D", will all other orders also having the ref of "D" get bounced (for up to 60 seconds)? Or only orders containing the ref "D" in the same market, or selection?
IOW - how does one know which bot made which order without keeping this in their own records? I'd like to eliminate the db (or any read/write) from my bots and this might be something that'll make or break this idea.
Cheers.


Comment