Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, Akow, 7th_zorro), 756 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to write dataParseJSON format correctly ? #475947
01/15/19 01:13
01/15/19 01:13
Joined: Dec 2018
Posts: 22
VN
C
Chuate Offline OP
Newbie
Chuate  Offline OP
Newbie
C

Joined: Dec 2018
Posts: 22
VN
Hello,

I want to convert json to t6 by using dataParseJSON.

+%t,f3,f1,f2,f4,f6 works for csv but with json I don't know how to write correctly. Anyone here can help me ?

This is api json I want to get


This is json format in manual page:
Quote:
"Start,Time,Timeformat,High,Low,Open,Close,AdjClose,Volume"

Re: How to write dataParseJSON format correctly ? [Re: Chuate] #475968
01/16/19 01:48
01/16/19 01:48
Joined: Dec 2018
Posts: 22
VN
C
Chuate Offline OP
Newbie
Chuate  Offline OP
Newbie
C

Joined: Dec 2018
Posts: 22
VN
I changed to "+%t,open,high,low,close" but it still show error.

Re: How to write dataParseJSON format correctly ? [Re: Chuate] #475971
01/16/19 07:29
01/16/19 07:29
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline
Junior Member
kvm  Offline
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
No, it's not possible! As you can see, the json you receive contains unnamed fields, so you can't reference them by name in your format string.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1