Hi guys, I'm having a hard time defining the correct path for orderInternal. Atm this is what i've got:
modules:
default:
metrics:
- name: test
type: object
path: '{ [*].orderInternal }'
labels:
type: '{ .type }'
placedType: '{ .placedType }'
values:
ticketNumber: '{ .ticketNumber }'
And the test data i'm trying it on:
[
{
"ticket": 169879025,
"profit": 0.0,
"swap": 0.0,
"commission": 0.0,
"fee": 0.0,
"orderInternal": {
"ticketNumber": 169879025,
"type": "BuyLimit",
"placedType": "Mobile",
"symbol": "AUDUSD"
},
"expirationTime": "1970-01-01T00:00:00",
"fillPolicy": "FlashFill"
}
]
Hi guys, I'm having a hard time defining the correct path for
orderInternal. Atm this is what i've got:And the test data i'm trying it on: