Trying to create a limit order in Pyton as a test. I have this:
payload = json.dumps({
“client_order_id”: inclient_id,
“product_id”: “BAT-USD”,
“side”: “BUY”,
“order_configuration”: {
“limit_limit_gtd”: {
“base_size”: “11”,
“limit_price”: “.01”,
“end_time”: “2023-07-26T17:01”,
“post_only”: False
}
}
})
And it gives this error.
{“error”:“unknown”,“error_details”:“proto: (line 1:198): invalid google.protobuf.Timestamp value "2023-07-26T17:01"”,“message”:“proto: (line 1:198): invalid google.protobuf.Timestamp value "2023-07-26T17:01"”}
Any help is appreciated.