GET http://whitefrog-nginx/api/v1/candle/NZDUSD_otc/69?limit=2400

Query Metrics

2 Database Queries
2 Different statements
314.64 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
313.25 ms
(99.56%)
1
SELECT FLOOR(q.time / ?) * ? AS bucket, (array_agg(q.price ORDER BY q.time ASC))[1] AS open, MAX(q.price) AS high, MIN(q.price) AS low, (array_agg(q.price ORDER BY q.time DESC))[1] AS close FROM quotes q WHERE (q.asset_id = ?) AND (q.time >= (SELECT FLOOR(MAX(l.time) / ?) * ? FROM quotes l WHERE l.asset_id = ?) - ?) GROUP BY bucket ORDER BY bucket DESC LIMIT 2400
Parameters:
[
  69
  69
  126
  69
  69
  126
  165531
]
1.39 ms
(0.44%)
1
SELECT a.* FROM assets a WHERE a.symbol = ?
Parameters:
[
  "NZDUSD_otc"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects

Entities Mapping