Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
7 registered members (clonman, TipmyPip, Niels, dBc, Ed_Love, 3run, 1 invisible), 18,869 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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