Close automatically at the same time that I established the expiration date when creating the trade

Job finished

Execution time 11 days
Feedback from employee
Gracias por el proyecto, ha sido un placer

Specification

Hello,

I am looking for a solution so that my trades are automatically closed at the same time that I established the expiration date when creating the trade.

An example, if I established that the expiration date for a new trade was on 01/23/2019 at 2:00 p.m. and the trade opens, i want it to close the same date and time that I established as expiration (regardless of whether there are losses or gains).

Can anybody help me?

I also need to know how to implement the code.

Best regards


Responded

1
Developer 1
Rating
(211)
Projects
313
34%
Arbitration
63
37% / 38%
Overdue
100
32%
Loaded
2
Developer 2
Rating
(2661)
Projects
3380
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
3
Developer 3
Rating
(204)
Projects
326
43%
Arbitration
34
32% / 29%
Overdue
83
25%
Free
Similar orders
Encargar tarea 1000+ USD
Sort (cost=8.73..8.73 rows=1 width=723) Sort Key: m.created_lt -> Nested Loop (cost=2.00..8.72 rows=1 width=723) -> Nested Loop (cost=1.30..5.76 rows=1 width=693) -> Index Scan using messages_created_at on messages m (cost=0.59..2.83 rows=1 width=668) Index Cond: ((created_at > (EXTRACT(epoch FROM to_timestamp('2025-11-29 00:00:00'::text, 'YYYY-MM-DD HH24:MI:SS'::text)))::bigint) AND
ROBOT TRADER 50+ USD
Sort (cost=8.73..8.73 rows=1 width=723) Sort Key: m.created_lt -> Nested Loop (cost=2.00..8.72 rows=1 width=723) -> Nested Loop (cost=1.30..5.76 rows=1 width=693) -> Index Scan using messages_created_at on messages m (cost=0.59..2.83 rows=1 width=668) Index Cond: ((created_at > (EXTRACT(epoch FROM to_timestamp('2025-11-29 00:00:00'::text, 'YYYY-MM-DD HH24:MI:SS'::text)))::bigint) AND (created_at < (EXTRACT(epoch FROM

Project information

Budget
30 - 40 USD