How to identify closed systems using C2 Data Services API?

Hope it is possible.
Thanks in advance…

Hi, Andrey:

Not currently possible… but we’ll be releasing a new version of the API soon and I’ll make sure this function is available.

Great news! Thank you!
If you still work on it, then I would make a suggestion: place active/close info/flag in the roster file. It would help to down select less systems during roster file review and decrease number of stats/trades/ signals/equity requests. Probably will be better for server.

By the way, I’ve sent a question to C2 support, #4808, but didn’t receive any response. Is it still in work?

Hi, Matthew

Are there any news on the new API?

Hi, Matthew

Are there any news on the new API?

Yes, any news? :smile:

For checking the closed systems, any issues with just using gettradehistory?

Thanks

The getsystemstats command of C2DS provides an ‘abandoned’ flag (0 or 1). Not sure how it is computed though. Presumably abandoned=1 is a system you don’t want to subscribe to.

Have I just missed the full documentation for C2DS? It seems like there would be a place to explain every key/value pair in the returned XML for C2DS.

Some are obvious:

numtrades 78 2015-12-02 16:34:58 numwins 43 2015-12-02 16:34:58 numloss 35 2015-12-02 16:34:58

Others are mysteries concealed within enigmas:

j22dfRATIRatStaUpsi 2.1231 2015-10-07 11:28:41 j22mfRATIRatStaDown 0 2015-12-02 16:34:57

The PDF is less than ideal.

Thank you. I missed this flag. Probably it was added recently.

Uh… yeah. There’s a bunch of internal statistics (complete with inscrutable names) publicly available via API calls. I really should filter these out, or - better yet - include human readable names alongside internal names. But it’s a bit of a project, so I can’t promise a timeframe for this. Better (for now) would be to ignore anything that appears “enigmatic.” (Love that phrase, @CharlesLarry, “Others are mysteries concealed within enigmas…” how true!)

MK

@MatthewKlein have you removed ‘abandoned’ flag from systems stats output?

@AndreyBlinkov, it looks like it is sill there. Here’s a dump of all less-enigmatic stats from Zip4X. First item in the list is the abandoned. (Still have no idea how it is computed though).

abandoned 0
anyshorts 0
avgadversedd -47.25
avgDollarPosLosers 19325.7
avgDollarPosWinners 3289.35
avgPips -7.78
avgPipsAUDJPY -2.11
avgPipsAUDNZD 29.25
avgPipsAUDUSD 10.41
avgPipsCADJPY 0.97
avgPipsCHFJPY -56.81
avgPipsEURJPY -8.56
avgPipsEURNZD 7.21
avgPipsEURUSD -36.44
avgPipsGBPJPY 20.57
avgPipsGBPNZD -9.46
avgPipsGBPUSD -51.67
avgPipsLong 25.22
avgPipsLongAUDJPY 11.27
avgPipsLongAUDNZD 36.59
avgPipsLongAUDUSD 19.23
avgPipsLongCADJPY 11.55
avgPipsLongCHFJPY
avgPipsLongEURJPY 38.36
avgPipsLongEURNZD 34.31
avgPipsLongEURUSD 17.52
avgPipsLongGBPJPY 48
avgPipsLongGBPNZD 38.96
avgPipsLongGBPUSD 15.91
avgPipsLongNZDJPY 21.2
avgPipsLongNZDUSD 21.04
avgPipsLongUSDCAD 19.21
avgPipsLongUSDCHF 20.1
avgPipsLongUSDJPY 20.5
avgPipsNZDJPY -2.32
avgPipsNZDUSD -6.69
avgPipsShort -33
avgPipsShortAUDJPY -13.38
avgPipsShortAUDNZD -7.34
avgPipsShortAUDUSD -8.82
avgPipsShortCADJPY -10.58
avgPipsShortCHFJPY -56.81
avgPipsShortEURJPY -46.92
avgPipsShortEURNZD -27.1
avgPipsShortEURUSD -53.96
avgPipsShortGBPJPY -27.43
avgPipsShortGBPNZD -48.42
avgPipsShortGBPUSD -67.58
avgPipsShortNZDJPY -23.52
avgPipsShortNZDUSD -27.73
avgPipsShortUSDCAD -22.21
avgPipsShortUSDCHF -12.39
avgPipsShortUSDJPY -21.59
avgPipsUSDCAD -3
avgPipsUSDCHF 7.71
avgPipsUSDJPY -1.09
avgPLperMargin 0.0760162
avgplunittrue 32.93
avgPosTimeDays 2.89
avgPosTimeHours 69.359
avgPosTimeMins 4161.53
avgptsfutures
avgptsstocks
avgpts_@ER2
avgpts_@ES
avgpts_@SP
avgpts_@US
avgpts_@YM
avgtradepl 25.61
billingPeriodDays 30
businessModel 1
c2_system_score 987
cARbetrader 3.3961
cARdaniels 3.3961
cARdanielsF 3.3961
cARdanielsS 3.3961
cARdefault 3.3961
cARib 3.4326
cARmbt 3.3961
cARoec 3.3961
cARox 3.3963
cARtonly 3.3263
cARvision 3.3963
cashdivs 0
creatorAliasOrName GiorgioSaumat2
cumRtnbetrader 22.4473
cumRtndaniels 22.4473
cumRtndanielsF 22.4473
cumRtndanielsS 22.4473
cumRtndefault 22.4473
cumRtnib 22.865
cumRtnmbt 22.4473
cumRtnoec 22.4473
cumRtnox 22.4499
cumRtntonly 21.6618
cumRtnvision 22.4499
cumuPips 11703.7
cumuPipsAUDJPY 180.99
cumuPipsAUDNZD 402.65
cumuPipsAUDUSD 206.76
cumuPipsCADJPY 176.01
cumuPipsCHFJPY 113.62
cumuPipsEURJPY 1650.58
cumuPipsEURNZD 428.16
cumuPipsEURUSD 410
cumuPipsGBPJPY 1611.49
cumuPipsGBPNZD 1746.51
cumuPipsGBPUSD 1685.8
cumuPipsLong 4312.38
cumuPipsLongAUDJPY 33.82
cumuPipsLongAUDNZD 365.93
cumuPipsLongAUDUSD 153.86
cumuPipsLongCADJPY 80.82
cumuPipsLongCHFJPY 0
cumuPipsLongEURJPY 383.61
cumuPipsLongEURNZD 102.92
cumuPipsLongEURUSD 140.19
cumuPipsLongGBPJPY 624.06
cumuPipsLongGBPNZD 584.41
cumuPipsLongGBPUSD 334.11
cumuPipsLongNZDJPY 445.13
cumuPipsLongNZDUSD 610.26
cumuPipsLongUSDCAD 230.58
cumuPipsLongUSDCHF 140.68
cumuPipsLongUSDJPY 81.99
cumuPipsNZDJPY 986.04
cumuPipsNZDUSD 1053.87
cumuPipsShort 7391.29
cumuPipsShortAUDJPY 147.17
cumuPipsShortAUDNZD 36.72
cumuPipsShortAUDUSD 52.9
cumuPipsShortCADJPY 95.19
cumuPipsShortCHFJPY 113.62
cumuPipsShortEURJPY 1266.97
cumuPipsShortEURNZD 325.24
cumuPipsShortEURUSD 269.81
cumuPipsShortGBPJPY 987.43
cumuPipsShortGBPNZD 1162.1
cumuPipsShortGBPUSD 1351.69
cumuPipsShortNZDJPY 540.91
cumuPipsShortNZDUSD 443.61
cumuPipsShortUSDCAD 421.99
cumuPipsShortUSDCHF 24.79
cumuPipsShortUSDJPY 151.13
cumuPipsUSDCAD 652.57
cumuPipsUSDCHF 165.47
cumuPipsUSDJPY 233.12
forexpercent 1
futurespercent 0
holdandhope 0.318
jAnnReturn 3.4851
jCalmar 4.802
jDDQuartMean4 0.314
jRetnQuartMean1 0.928
jSharpe 1.085
jSharpeConfH 2.481
jSharpeConfL -0.309
jSharpeDaily 1.767
jSortino 1.541
jVAR95 0.071
keepAfterSlip 1
latestequity 1213590
latesttradedaysago 0.1
latesttradetimestamp 1450120000
lowEquityAmt 23872
lowEquityDate 20140705
marketplace_id 117
maxadversedd -204.92
maxdrawdown 130548
maxdrawdownDays 92
maxdrawdownend 20140705
maxdrawdownPcnt 86.29
maxdrawdownstart 20140404
NFA_return 3.3961
NFA_returnlbl Annual Return (Compounded)
nosubsallowed 0
numAllAT 356
numLiveATaccts 13
numLiveATsignals 962
numPosLosers 6
numPosWinners 389
numsigs_all 1488
numsigs_forex 1488
numsigs_futures 0
numsigs_options 0
numsigs_stocks 0
numtrades 395
optionpercent 0
ownerAutoTrades 0
ownerAutoTradesPcnt 0
percentWinPositions 98.48
profitFactor 11.035
slipAdjPL 1163330
startUnitSize 50000
stockpercent 0
subDollars 3820
subPricePerPeriod 75
sumDollarPosLosers 115954
sumDollarPosWinners 1279560
systemAgeDays 774.67
trades Forex
trialPeriodDays 7
vsBenchmark 2229.58
startcapital 50000
numtrades 395
sumOpenTradeTimeSecs 98628500
numwins 389
numloss 6
dollarwin 1279560
dollarloss 115954
corrSP500 -0.0641

Interesting thing. It is there now, but files obtained 8.5 hours ago didn’t have it.

It looks like the flag is not set on every system. So, I am a bit confused as well. For example, the flag is not in the output for the system id 96607853, but as mentioned earlier, it is present for 83803243.

Hope @MatthewKlein will comment our discussion.