v3.10.0.1

Significant Accounting Policies - Additional Information (Detail) - USD ($) |  | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jul. 31, 2014 | Jun. 30, 2018 | Dec. 31, 2017
Significant Accounting Policies [Line Items] |  |  |
Level III portfolio investments |  | $ 0 | $ 0
Minimum [Member] | Volatility Index Fund [Member] |  |  |
Significant Accounting Policies [Line Items] |  |  |
Percentage of brokerage commissions exceed variable create/redeem fees | 0.02% |  |

X
- Definition Level three portfolio investments for significant unobservable inputs fair value. + References No definition available. + Details
Name: | ck0001415311_LevelThreePortfolioInvestmentsForSignificantUnobservableInputsFairValue
Namespace Prefix: | ck0001415311_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of brokerage commissions exceed variable create/redeem fees. + References No definition available. + Details
Name: | ck0001415311_PercentageOfBrokerageCommissionsExceedVariableCreateOrRedeemFees
Namespace Prefix: | ck0001415311_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Significant accounting policies. + References No definition available. + Details
Name: | ck0001415311_SignificantAccountingPoliciesLineItems
Namespace Prefix: | ck0001415311_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=ck0001415311_VolatilityIndexFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |