| Investment Risks | Oct. 24, 2025 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraniteShares 1.25x Long TSLA Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by company’s ability to develop and launch new products, the growth of its sales and delivery capabilities, part supplier constraints or delays, consumer demand for electric vehicles and competition from existing and competitors. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 1.25 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 0.9% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 14.1% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 125% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 125% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 63.8%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 72.6% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 63.8%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 125% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 125% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 1.25% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 80%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value, or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Automotive Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Automotive Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to risks of the automotive sector. The automotive sector industry can be highly cyclical, and companies in the industry may suffer periodic operating losses. Automotive companies can be significantly affected by labor relations and fluctuating component prices. Developments in automotive technologies (e.g., autonomous vehicle technologies) may require significant capital expenditures that may not generate profits for several years, if ever. Automotive companies may be significantly subject to government policies and regulations regarding imports and exports of automotive products. Governmental policies affecting the automotive industry, such as taxes, tariffs, duties, subsidies, and import and export restrictions on automotive products can influence industry profitability. In addition, such companies must comply with environmental laws and regulations, for which there may be severe consequences for non-compliance. While most of the major automotive manufacturers are large companies, certain others may be non-diversified in both product line and customer base and may be more vulnerable to certain events that may negatively impact the automotive industry. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 1.25 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 1.25x Long TSLA Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by NVIDIA Corporation’s ability to identify new products, technologies or services, global competition and business conditions, its dependence on third-party product manufacturers, product defect issues, cybersecurity breaches, and customer concentration. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund’s aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025, was 53.5%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 61.8% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 66.2%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation meIogy, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long NVDA Daily ETF | Semi Conductor Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Semi-Conductor Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the semiconductor sector. The risks of investments in the semiconductor sector industry include: intense competition, both domestically and internationally, including competition from subsidized foreign competitors with lower production costs; wide fluctuations in securities prices due to risks of rapid obsolescence of products; economic performance of the customers of semiconductor companies; their research costs and the risks that their products may not prove commercially successful; capital equipment expenditures that could be substantial and suffer from rapid obsolescence; and thin capitalization and limited product lines, markets, financial resources or personnel. The semiconductor industry may also be affected by risks that affect the broader technology sector, including: government regulation; dramatic and often unpredictable changes in growth rates and competition for qualified personnel; heavy dependence on patent and intellectual property rights, the loss or impairment of which may adversely affect profitability; and a small number of companies representing a large portion of the technology sector as a whole. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by the value of crypto assets, the volume of transactions on its platform, the overall development and growth of crypto assets, cyberattacks and security breaches affecting its platforms or third-party service providers, increased crypto platform competition and government regulations affecting the crypto industry. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate from April 13, 2021 (the Underlying Stock’s IPO) to August 31, 2025, was 90.4%. During the period observed the Underlying Stock’s highest volatility rate over a 12-month period was 101.3% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance from April 13, 2021 (the Underlying Stock’s IPO date) to August 31, 2024 was 4.6%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, tariffs and trade wars, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long COIN Daily ETF | Digital Asset And Finance Services Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Digital Asset and Finance Services Company Risks: The performance of the Underlying Stock, and subsequently the Fund’s performance, is subject to the risks of the digital asset and finance company sectors. Such companies may be adversely impacted by government regulations, economic conditions and deterioration in credit markets. These companies typically face intense competition and could be negatively affected by new entrants into the market, especially those located in markets with lower production costs. Competitors in the digital payments space include financial institutions and well-established payment processing companies. In addition, many companies engaged in these businesses store sensitive consumer information and could be the target of cybersecurity attacks and other types of theft, which could have a negative impact on these companies. Online digital asset trading platforms currently operate under less regulatory scrutiny than traditional financial services companies and banks, but there is a significant risk that regulatory oversight could increase in the future. Higher levels of regulation could increase costs and adversely impact the current business models of some digital asset-related companies and could severely impact the viability of these companies. These companies could be negatively impacted by disruptions in service caused by hardware or software failure, or by interruptions or delays in service by third-party data center hosting facilities and maintenance providers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by trends in commerce, and cloud computing, changes in the economic conditions in China and globally, international trade policies, the company’s investment transactions and changes in governmental regulations. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 51.8%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 73.9% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was -13.8%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with the Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with the Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to the Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of the Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and the Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long BABA Daily ETF | On Line Business Services And Retail Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | On-Line Business Services and Retail Company Risks: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the online retail company sector. Companies that operate in the online marketplace and retail segments are subject to fluctuating consumer demand. Unlike traditional brick and mortar retailers, online marketplaces and retailers must assume shipping costs or pass such costs to consumers. Consumer access to price information for the same or similar products may cause companies that operate in the online marketplace and retail segments to reduce profit margins in order to compete. Due to the nature of their business models, companies that operate in the online marketplace and retail segments may also be subject to heightened cyber security risk, including the risk of theft or damage to vital hardware, software and information systems. The loss or public dissemination of sensitive customer information or other proprietary data may negatively affect the financial performance of such companies to a greater extent than traditional brick and mortar retailers. As a result of such companies being web-based and the fact that they process, store, and transmit large amounts of data, including personal information, for their customers, failure to prevent or mitigate data loss or other security breaches, including breaches of vendors’ technology and systems, could expose companies that operate in the online marketplace and retail segments or their customers to a risk of loss or misuse of such information, adversely affect their operating results, result in litigation or potential liability, and otherwise harm their businesses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by the company’s ability to add and retain users of its social media products, government restrictions and enforcement actions, security breaches, its ability to enforce its intellectual property rights and increased competition in the social and digital media space. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 44.5%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 55.3% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 20.3%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objectives as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long META Daily ETF | Social Media And Computer Programming Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Social Media and Computer Programming Company Riss: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the social media and computer programming sector. Such companies provide social networking, file sharing, and other web-based media applications. The risks related to investing in such companies include disruption in service caused by hardware or software failure, interruptions or delays in service by third-party data center hosting facilities and maintenance providers, security breaches involving certain private, sensitive, proprietary and confidential information managed and transmitted by social media companies, and privacy concerns and laws, evolving Internet regulation and other foreign or domestic regulations that may limit or otherwise affect the operations of such companies. Additionally, the collection of data from consumers and other sources could face increased scrutiny as regulators consider how the data is collected, stored, safeguarded and used. Furthermore, the business models employed by the companies in the social media and computer programming industries may not prove to be successful. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND. 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by changes in advertising revenues, increased competition and ability to retain users and customers, its ability to enforce the company’s intellectual property rights, manufacturing and supply chain risks, global market conditions, cyber-attacks and changes in regulatory oversight. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to track indices that replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 31.5%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 35.1% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 21.0%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long GOOGL Daily ETF | Social Media And Computer Programming Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Social Media and Computer Programming Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the social media and computer programming sector. Such companies provide social networking, file sharing, and other web-based media applications. The risks related to investing in such companies include disruption in service caused by hardware or software failure, interruptions or delays in service by third-party data center hosting facilities and maintenance providers, security breaches involving certain private, sensitive, proprietary and confidential information managed and transmitted by social media companies, and privacy concerns and laws, evolving Internet regulation and other foreign or domestic regulations that may limit or otherwise affect the operations of such companies. Additionally, the collection of data from consumers and other sources could face increased scrutiny as regulators consider how the data is collected, stored, safeguarded and used. Furthermore, the business models employed by the companies in the social media and computer programming industries may not prove to be successful. 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by the company’s ability to expand into new products, services or technologies, increased competition in the e-commerce industry, successfully operate its fulfillment and data centers, cybersecurity attacks, changes in supplier relationships, demand for certain consumer products, product liability issues, changes in tax liability and evolving government regulations. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims replicate leverage daily returns. For a Fund aiming to replicate 1.5 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 36.0%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 45.0% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 5.5%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which is to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investments as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMZN Daily ETF | On Line Business Services And Retail Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | On-Line Business Services and Retail Company Risks: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the online retail company sector. Companies that operate in the online marketplace and retail segments are subject to fluctuating consumer demand. Unlike traditional brick and mortar retailers, online marketplaces and retailers must assume shipping costs or pass such costs to consumers. Consumer access to price information for the same or similar products may cause companies that operate in the online marketplace and retail segments to reduce profit margins in order to compete. Due to the nature of their business models, companies that operate in the online marketplace and retail segments may also be subject to heightened cyber security risk, including the risk of theft or damage to vital hardware, software and information systems. The loss or public dissemination of sensitive customer information or other proprietary data may negatively affect the financial performance of such companies to a greater extent than traditional brick and mortar retailers. As a result of such companies being web-based and the fact that they process, store, and transmit large amounts of data, including personal information, for their customers, failure to prevent or mitigate data loss or other security breaches, including breaches of vendors’ technology and systems, could expose companies that operate in the online marketplace and retail segments or their customers to a risk of loss or misuse of such information, adversely affect their operating results, result in litigation or potential liability, and otherwise harm their businesses. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by global markets and demand for Apple’s products and services, its ability to develop new products and services, inventory levels, supply chain issues, the performance of third-party software developers, system and network failures, privacy and cybersecurity breaches and changes in international and government regulations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to track indices that replicate leverage daily returns. For a Fund aiming to replicate 2 times the performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 29.7%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 31.8% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 12.2% (including the reinvestment of eventual dividends). Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AAPL Daily ETF | Computer Technology Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Computer Technology Company Risks: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the software and information technology sector. The value of stocks of information technology companies and companies that rely heavily on technology is particularly vulnerable to rapid changes in technology product cycles, rapid product obsolescence, government regulation, and competition, both domestically and internationally, including competition from competitors with lower production costs. In addition, many information technology companies have limited product lines, markets, financial resources or personnel. The prices of information technology companies and companies that rely heavily on technology, especially those of smaller, less-seasoned companies, tend to be more volatile and less liquid than the overall market. Information technology companies are heavily dependent on patent and intellectual property rights, the loss or impairment of which may adversely affect profitability. Additionally, companies in the information technology sector may face dramatic and often unpredictable changes in growth rates and competition for the services of qualified personnel. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by competition in the microprocessor market, reliance on third-party manufacturers, the company’s ability to new develop new products, losses of significant customers, changes in customer demand for its products, risks associated with defective products political, legal and economic risks affecting the company’s global operations. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 26.9%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 31.7% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 18.4%. (including reinvestment of eventual dividends) Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that its investment objective which is to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long MSFT Daily ETF | Software And Information Computer Technology Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Software and Information Computer Technology Company Risks: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the software and information technology sector. The value of stocks of information technology companies and companies that rely heavily on technology is particularly vulnerable to rapid changes in technology product cycles, rapid product obsolescence, government regulation, and competition, both domestically and internationally, including competition from competitors with lower production costs. In addition, many information technology companies have limited product lines, markets, financial resources or personnel. The prices of information technology companies and companies that rely heavily on technology, especially those of smaller, less-seasoned companies, tend to be more volatile and less liquid than the overall market. Information technology companies are heavily dependent on patent and intellectual property rights, the loss or impairment of which may adversely affect profitability. Additionally, companies in the information technology sector may face dramatic and often unpredictable changes in growth rates and competition for the services of qualified personnel. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by the company’s significant customer losses, its inability to develop and implement new technologies, its reliance on third-party distributors and platforms, cybersecurity attacks, its inability to protect its intellectual property rights and global laws and regulations affecting privacy, data protection and technology protections. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to track indices that replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 51.4%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 58.9% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 12.0%. Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stoc or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long AMD Daily ETF | Semi Conductor Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Semi-Conductor Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the semiconductor sector. The risks of investments in the semiconductor sector industry include: intense competition, both domestically and internationally, including competition from subsidized foreign competitors with lower production costs; wide fluctuations in securities prices due to risks of rapid obsolescence of products; economic performance of the customers of semiconductor companies; their research costs and the risks that their products may not prove commercially successful; capital equipment expenditures that could be substantial and suffer from rapid obsolescence; and thin capitalization and limited product lines, markets, financial resources or personnel. The semiconductor industry may also be affected by risks that affect the broader technology sector, including: government regulation; dramatic and often unpredictable changes in growth rates and competition for qualified personnel; heavy dependence on patent and intellectual property rights, the loss or impairment of which may adversely affect profitability; and a small number of companies representing a large portion of the technology sector as a whole. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by significant customer losses, its inability to develop and implement new technologies, its reliance on third-party distributors and platforms, cybersecurity attacks, its inability to protect its intellectual property rights and global laws and regulations affecting privacy, data protection and technology protections. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to track indices that replicate leverage daily returns. For a Fund aiming to replicate 1.25 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the period from September 29, 2020 (the Underlying Stock’s IPO date) to August 31, 2025 was 74.6%. During the period observed the Underlying Stock’s highest volatility rate over a 12-month period was 90.5% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the period from September 29, 2020 (the Underlying Stock’s IPO date) to August 31, 2025 was 86.8%. Historical Underlying Stock volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility or instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long PLTR Daily ETF | Software And Information Technology Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Software and Information Technology Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the software and information technology sector. The value of stocks of information technology companies and companies that rely heavily on technology is particularly vulnerable to rapid changes in technology product cycles, rapid product obsolescence, government regulation, and competition, both domestically and internationally, including competition from competitors with lower production costs. In addition, many information technology companies have limited product lines, markets, financial resources or personnel. The prices of information technology companies and companies that rely heavily on technology, especially those of smaller, less-seasoned companies, tend to be more volatile and less liquid than the overall market. Information technology companies are heavily dependent on patent and intellectual property rights, the loss or impairment of which may adversely affect profitability. Additionally, companies in the information technology sector may face dramatic and often unpredictable changes in growth rates and competition for the services of qualified personnel. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by company’s ability to attract and maintain a certain level of drivers and consumers, its success in investing in new technologies and services, the potential classification of its drivers as employees, changes in the conditions affecting major markets, cyberattacks, its ability to receive additional working capital, governmental regulation changes and risks of legal proceeding The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025, was 63.8%. During the period observed the Underlying Stock’s highest volatility rate over a 12-month period was 72.6% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 16.1%. Historical Underlying Stock volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility or instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long UBER Daily ETF | On Line Business Services And Retail Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | On-Demand Business and Technology Services Company Risk: On-demand business and technology services are a relatively new and are subject to risks associated with a developing industry including limited product lines, markets, and financial resources as well as challenges to scalability of production. There is no guarantee that the products or services offered by companies in this business will be successful. Companies engaged in design, production or distribution of goods or services for the media industry may become quickly obsolete. They are subject to risks that include cyclicality of revenues and earnings, a decrease in the discretionary income of targeted individuals, changing consumer tastes and interests, intense competition, frequent new service introductions, loss or impairment of intellectual property rights, and the potential for increased government regulation. The business models employed by companies in the on-demand industry may not prove to be successful. These companies may also be susceptible to operational and information security risks including those associated with hardware or software failures, interruptions, or delays in service by third party vendors. Additionally, because on-demand companies typically collect and store sensitive consumer information, these companies are potential targets for cybersecurity attacks and other types of theft, and may face scrutiny from regulators considering how consumer data is stored, safeguarded, and used, which could have a negative impact on these companies. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by changes in consumer preferences for entertainment offerings and products, its ability to generate revenue from its intellectual property rights, labor and employment disputes, the seasonality of certain of Disney’s businesses and changes in FCC, environmental, consumer safety and tax regulations. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to track indices that replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Underlying Stock experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 31.0%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 33.8% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was -2.1% (including reinvestment of eventual dividends). Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that its investment objective which is to replicate 1.5 times the daily percentage change of the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruption. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long DIS Daily ETF | Amusement And Leisure Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Amusement and Leisure Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to the risks of the amusement and leisure company sector. Companies engaged in the design, production, or distribution of goods or services for the leisure and entertainment industries (including hospitality industry companies such as airlines, hotels, restaurants and bars, cruise lines, casinos, and all other recreation and amusement businesses; as well as entertainment programming companies engaged in the production of motion pictures, music by recording artists, programming for radio and television, related post-production and movie theaters) may become obsolete quickly. Additionally, several factors can significantly affect the leisure and entertainment industries, including the performance of the overall economy, changing consumer tastes and discretionary income levels, intense competition, technological developments and government regulation. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | PRINCIPAL RISKS OF INVESTING IN THE FUND 
 As with all ETFs, there is the risk that you could lose money through your investment in the Fund. Many factors affect the Fund’s NAV and performance. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Underlying Stock Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Underlying Stock Risk: The Underlying Stock is subject to many risks that can negatively impact its revenue and viability including, but are not limited to price volatility risk, management risk, inflation risk, global economic risk, growth risk, supply and demand risk, operations risk, regulatory risk, environmental risk, terrorism risk and the risk of natural disasters. The Underlying Stock performance may be affected by changes in consumer preferences affecting the automotive industry including electric vehicles, its reliance on third-party suppliers, vehicle defect issues, labor and employment issues, trade policies and tariffs, governmental investigations and litigations, and new or increased credit or consumer protection regulations. The Fund’s daily returns may be affected by many factors but will depend on the performance and volatility of the Underlying Stock. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Effects Of Compounding And Market Volatility Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Effects of Compounding and Market Volatility Risk: The Fund aims to replicate the leveraged daily returns of the Underlying Stock and the Fund’s performance for periods greater than a trading day will be the result of each day’s returns compounded over the period, which is very likely to differ from the Underlying Stock’s performance, before fees and expenses. Compounding affects all investments but has a more significant impact on funds that aims to replicate leverage daily returns. For a Fund aiming to replicate 2 times the daily performance of an Underlying Stock, if adverse daily performance of the Underlying Stock reduces the amount of a shareholder’s investment, any further adverse daily performance will lead to a smaller dollar loss because the shareholder’s investment had already been reduced by the prior adverse performance. Equally, however, if the favorable daily performance of the Underlying Stock increases the amount of a shareholder’s investment, the dollar amount lost due to future adverse performance will increase because the shareholder’s investment has increased. 
 The effect of compounding becomes pronounced as the Underlying Stock volatility and the holding period increase. The impact of compounding will impact each shareholder differently depending on the period of time an investment in the Fund is held and the volatility of the Underlying Stock during the shareholder’s holding period of an investment in the Fund. 
 
 The chart below provides examples of how Underlying Stock volatility could affect the Fund’s performance. Fund performance for periods greater than one single day can be estimated given any set of assumptions for the following factors: a) Underlying Stock volatility; b) Underlying Stock’s performance; c) period of time; d) financing rates associated with leveraged exposure; e) other Fund expenses; and f) the Underlying Stock’s dividends. The chart below illustrates the impact of two principal factors – Underlying Stock volatility and performance – on Fund performance. The chart shows estimated Fund returns for a number of combinations of Underlying Stock volatility and performance over a one-year period. Performance shown in the chart assumes that (i) there were no Fund expenses; and (ii) borrowing rates (needed to obtain a leveraged long exposure) of 0%. If Fund expenses and/or actual borrowing/lending rates were reflected, the estimated returns would be lower than those shown. Particularly during periods of higher Underlying Stock volatility, compounding will cause results for periods longer than a trading day to vary from the performance of the Underlying Stock. 
 As shown in the chart below, the Fund would be expected to lose 6.0% if the Underlying Stock provided no return over a one-year period during which the Index experienced annualized volatility of 25%. At higher ranges of volatility, there is a chance of a significant loss of value in the Fund, even if the Underlying Stock return is flat. 
 For instance, if the Underlying Stock annualized volatility is 100%, the Fund would be expected to lose 63.3% of its value, even if the cumulative Underlying Stock return for the year was 0%. Areas shaded red (or dark gray) represent those scenarios where the Fund can be expected to return less than 200% of the performance of the Underlying Stock and those shaded green (or light gray) represent those scenarios where the Fund can be expected to return more than 200% of the performance of the Underlying Stock. The Fund’s actual returns may be significantly better or worse than the returns shown below as a result of any of the factors discussed above or in “Tracking Error Risk” below. 
 
 
 The Underlying Stock’s annualized historical volatility rate for the five-year period ended August 31, 2025 was 40.3%. During the five-year period observed the Underlying Stock’s highest volatility rate over a 12-month period was 49.0% and volatility for a shorter period of time may have been substantially higher. The Underlying Stock’s annualized performance for the five-year period ended August 31, 2025 was 17.6% (including reinvestment of eventual dividends). Historical volatility and performance are not indications of what the Underlying Stock volatility and performance will be in the future. The volatility of instruments that reflect the value of the Underlying Stock, such as swaps, may differ from the volatility of the Underlying Stock. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Correlation Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Correlation Risk: A number of factors may affect the Fund’s ability to achieve a high degree of correlation with Underlying Stock, and there is no guarantee that the Fund will achieve a high degree of correlation. Failure to achieve a high degree of correlation may prevent the Fund from achieving its investment objective, and the percentage change of the Fund’s NAV each day may differ, perhaps significantly in amount, and possibly even direction, from 200% of the percentage change of Underlying Stock on such day. 
 In order to achieve a high degree of correlation with Underlying Stock, the Fund seeks to rebalance its portfolio daily to keep exposure consistent with its investment objective. Being materially under- or overexposed to Underlying Stock may prevent the Fund from achieving a high degree of correlation with Underlying Stock and may expose the Fund to greater leverage risk. Market disruptions or closure, regulatory restrictions, market volatility, illiquidity in the markets for the financial instruments in which the Fund invests, and other factors will adversely affect the Fund’s ability to adjust exposure to requisite levels. The target amount of portfolio exposure is impacted dynamically by Underlying Stock’s movements, including intraday movements. Because of this, it is unlikely that the Fund will have perfect 200% exposure during the day or at the end of each day and the likelihood of being materially under- or overexposed is higher on days when Underlying Stock is volatile, particularly when Underlying Stock is volatile at or near the close of the trading day. 
 A number of other factors may also adversely affect the Fund’s correlation with Underlying Stock, including fees, expenses, transaction costs, financing costs associated with the use of derivatives, income items, valuation methodology, accounting standards and disruptions or illiquidity in the markets for the securities or financial instruments in which the Fund invests. The Fund may take or refrain from taking positions in order to improve tax efficiency, comply with regulatory restrictions, or for other reasons, each of which may negatively affect the Fund’s correlation with Underlying Stock. The Fund may also be subject to large movements of assets into and out of the Fund, potentially resulting in the Fund being under- or overexposed to Underlying Stock. Additionally, the Fund’s underlying investments and/or reference assets may trade on markets that may not be open on the same day as the Fund, which may cause a difference between the changes in the daily performance of the Fund and changes in the performance of Underlying Stock. Any of these factors could decrease correlation between the performance of the Fund and Underlying Stock and may hinder the Fund’s ability to meet its daily investment objective on or around that day. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Leverage Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Leverage Risk: The Fund obtains investment exposure in excess of its net assets by utilizing leverage and may lose more money in market conditions that are adverse to its investment objective than a fund that does not utilize leverage. An investment in the Fund is exposed to the risk that a decline in the daily performance of the Underlying Stock will be magnified. This means that an investment in the Fund will be reduced by an amount equal to 2% for every 1% daily decline in the Underlying Stock, not including the costs of financing leverage and other operating expenses, which would further reduce its value. The Fund could theoretically lose an amount greater than its net assets in the event the Underlying Stock declines more than 50%. Leverage will also have the effect of magnifying any differences in the Fund performance’s correlation with the Underlying Stock. 
 Due to the limited availability of necessary investments or financial instruments, the Fund could, among other things, as a defensive measure, limit or suspend creations or redemptions of Creation Units until the adviser determines that the requisite exposure to the Underlying Stock is obtainable. During the period that creation or redemptions are affected, the Fund’s shares could trade at a significant premium or discount to their net asset value or the bid-ask spread of the Fund’s shares could widen significantly. In the case of a period during which creations are suspended, the Fund could experience significant redemptions, which may cause the Fund to sell portfolio securities at unfavorable prices and increased transaction and other costs and make greater taxable distributions to shareholders of the Fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Automotive Company Risks [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Automotive Company Risk: The performance of the Underlying Stock, and consequently the Fund’s performance, is subject to risks of the automotive sector. The automotive sector industry can be highly cyclical, and companies in the industry may suffer periodic operating losses. Automotive companies can be significantly affected by labor relations and fluctuating component prices. Developments in automotive technologies (e.g., autonomous vehicle technologies) may require significant capital expenditures that may not generate profits for several years, if ever. Automotive companies may be significantly subject to government policies and regulations regarding imports and exports of automotive products. Governmental policies affecting the automotive industry, such as taxes, tariffs, duties, subsidies, and import and export restrictions on automotive products can influence industry profitability. In addition, such companies must comply with environmental laws and regulations, for which there may be severe consequences for non-compliance. While most of the major automotive manufacturers are large companies, certain others may be non-diversified in both product line and customer base and may be more vulnerable to certain events that may negatively impact the automotive industry. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Counterparty Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Counterparty Risk: A counterparty (the other party to a transaction or an agreement or the party with whom the Fund executes transactions) to a transaction (including repurchase transaction) with the Fund may be unable or unwilling to make timely principal, interest or settlement payments, or otherwise honor its obligations. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Derivatives Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Derivatives Risk: The use of derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities and other traditional investments. These risks include (i) the risk that the counterparty to a derivative transaction may not fulfill its contractual obligations; (ii) risk of mispricing or improper valuation; and (iii) the risk that changes in the value of the derivative may not correlate perfectly with the underlying asset, rate or index. Derivative prices are highly volatile and may fluctuate substantially during a short period of time. Such prices are influenced by numerous factors that affect the markets, including, but not limited to: changing supply and demand relationships; government programs and policies; national and international political and economic events, changes in interest rates, inflation and deflation and changes in supply and demand relationships. Trading derivative instruments involves risks different from, or possibly greater than, the risks associated with investing directly in securities. 
 The Fund will be subject to regulatory constraints relating to the level of value at risk that the Fund may incur through its derivative portfolio. To the extent the Fund exceeds these regulatory thresholds over an extended period, the Fund may determine that it is necessary to make adjustments to the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Exchange Traded Fund Structure Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Exchange Traded Fund Structure Risk: The Fund is structured as an exchange traded fund and as a result is subject to special risks, including: 
 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Fixed Income Securities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Fixed Income Securities Risk: When the Fund invests in fixed income securities, the value of your investment in the Fund will fluctuate with changes in interest rates. Typically, a rise in interest rates causes a decline in the value of fixed income securities owned by the Fund. In general, the market price of fixed income securities with longer maturities will increase or decrease more in response to changes in interest rates than shorter-term securities. Other risk factors include credit risk (the debtor may default), extension risk (an issuer may exercise its right to repay principal on a fixed rate obligation held by the Fund later than expected), and prepayment risk (the debtor may pay its obligation early, reducing the amount of interest payments). These risks could affect the value of a particular investment by the Fund, possibly causing the Fund’s share price and total return to be reduced and fluctuate more than other types of investments. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Management Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Management Risk: The Adviser’s judgments about the attractiveness, value and potential appreciation of a particular security or derivative in which the Fund invests may prove to be incorrect and may not produce the desired results. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Market And Geopolitical Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Market and Geopolitical Risk: The increasing interconnectivity between global economies and financial markets increases the likelihood that events or conditions in one region or financial market may adversely impact issuers in a different country, region or financial market. Securities in the Fund’s portfolio may underperform due to inflation (or expectations for inflation), interest rates, global demand for particular products or resources, natural disasters, pandemics, epidemics, terrorism, regulatory events and governmental or quasi-governmental actions. The occurrence of global events similar to those in recent years, such as terrorist attacks around the world, natural disasters, social and political discord or debt crises and downgrades, among others, may result in market volatility and may have long term effects on both the U.S. and global financial markets. It is difficult to predict when similar events affecting the U.S. or global financial markets may occur, the effects that such events may have and the duration of those effects. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Non Diversified Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Non-Diversified Risk: The Fund’s portfolio focuses on the Underlying Stock and will be subject to potential for volatility than a diversified fund. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Swap Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Swap Risk: Swaps are subject to tracking risk because they may not be perfect substitutes for the instruments they are intended to hedge or replace. Over the counter swaps are subject to counterparty default. Leverage inherent in derivatives will tend to magnify the Fund’s losses. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Options Contracts Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Options Contracts Risk: The use of options contracts involves investment strategies and risks different from those associated with ordinary portfolio securities transactions. The prices of options are volatile and are influenced by, among other things, actual and anticipated changes in the value of the underlying instrument, including the anticipated volatility, which are affected by fiscal and monetary policies and by national and international political, changes in the actual or implied volatility or the reference asset, the time remaining until the expiration of the option contract and economic events. For the Fund, in particular, the value of the options contracts in which it invests is substantially influenced by the value of the Underlying Stock. The Fund may experience substantial downside from specific option positions and certain option positions held by the Fund may expire worthless. As an option approaches its expiration date, its value typically increasingly moves with the value of the underlying instrument. However, prior to such a date, the value of an option generally does not increase or decrease at the same rate at the underlying instrument. There may at times be an imperfect correlation between the movement in values of options contracts and the underlying instrument, and there may at times not be a liquid secondary market for certain options contracts. The value of the options held by the Fund will be determined based on market quotations or other recognized pricing methods. Furthermore, when the Fund seeks to trade out of positions, especially near expiration, there is an added risk that the Fund may be required to allocate resources unexpectedly to fulfill these obligations. This potential exposure to physical settlement can significantly impact the Fund’s liquidity and market exposure, particularly in volatile market conditions. If the Fund sells non-cash settled options contracts, it would be obligated to receive shares of the Underlying Stock when the option is exercised. Consequently, there is a risk that the Fund may have to physically acquire the Underlying Stock shares at the strike price, which could result in the Fund holding the Underlying Stock, and an asset that has declined in value. The level of exposure obtained through option contracts should at most be equal to the Fund’s Daily Leverage Factor times the Fund’s net asset value. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Rebalancing Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Rebalancing Risk: If for any reason the Fund is unable to rebalance all or a portion of its portfolio, or if all or a portion of the portfolio is rebalanced incorrectly, the Fund’s investment exposure may not be consistent with the Fund’s investment objective. In these instances, the Fund may have investment exposure to the Underlying Stock that is significantly greater or less than its stated multiple. As a result, the Fund may be more exposed to leverage risk than if it had been properly rebalanced and may not achieve its investment objective. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Trading Halt Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Trading Halt Risk: Although the Underlying Stock’s shares are listed for trading on an exchange, there can be no assurance that an active trading market for such shares will be available at all times and the exchange may halt trading of such shares in certain circumstances. A halt in trading in the Underlying Stock’s shares is expected, in turn, to result in a halt in the trading in the Fund’s shares. Trading in the Underlying Stock’s and/or Fund’s shares on the exchange may be halted due to market conditions or for reasons that, in the view of the exchange, make trading in the Underling Stock’s and/or Fund’s shares inadvisable. In addition, trading in Underlying Stock’s and/or Fund’s shares on an exchange is subject to trading halts caused by extraordinary market volatility pursuant to exchange “circuit breaker” rules.” In the event of a trading halt for an extended period of time, the Fund may be unable to execute arrangements with swap counterparties that are necessary to implement the Fund’s investment strategy. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Tracking Error Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tracking Error Risk: Tracking error is the divergence of the Fund’s performance from that of its investment objective which aims to replicate 2 times the daily percentage change in the Underlying Stock. The performance of the Fund may diverge from that of its investment objective for a number of reasons. Tracking error may occur because of transaction costs, the Fund’s holding of cash, differences in accrual of dividends, being under- or overexposed to the Underlying Stock or the need to meet new or existing regulatory requirements. Tracking error risk may be heightened during times of market volatility or other unusual market conditions such as market disruptions. The Fund may be required to deviate from its investment objective as a result of market restrictions or other legal reasons, including regulatory limits or other restrictions on securities that may be purchased by the Adviser and its affiliates. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Investing In U S Equities Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Investing in U.S. Equities Risk: Investing in U.S. issuers subjects the Fund to legal, regulatory, political, currency, security, and economic risks that are specific to the U.S. Certain changes in the U.S., such as a weakening of the U.S. economy or a decline in its financial markets, may have an adverse effect on U.S. issuers. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | U S Treasury Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | US Treasury Risk: U.S. Treasury obligations are backed by the “full faith and credit” of the U.S. government and generally have negligible credit risk. Securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises may or may not be backed by the full faith and credit of the U.S. government. The Fund may be subject to such risk to the extent it invests in securities issued or guaranteed by federal agencies or authorities and U.S. government-sponsored instrumentalities or enterprises. 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GraniteShares 2x Long F Daily ETF | Tax Risk [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Risk [Text Block] | Tax Risk: In order to qualify for the favorable tax treatment generally available to regulated investment companies, the Fund must satisfy certain diversification and other requirements. In particular, the Fund generally may not acquire a security if, as a result of the acquisition, more than 50% of the value of the Fund’s assets would be invested in (a) issuers in which the Fund has, in each case, invested more than 5% of the Fund’s assets and (b) issuers more than 10% of whose outstanding voting securities are owned by the Fund. The application of these requirements to certain investments (including swaps) that may be entered into by the Fund is unclear. In addition, the application of these requirements to the Fund’s investment objective is not clear, particularly because the Fund’s investment objective focuses on the performance of the stock of a single issuer. If the Fund were to fail to qualify as a regulated investment company, it would be taxed in the same manner as an ordinary corporation, and distributions to its shareholders would not be deductible by the Fund in computing its taxable income. 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||