# TradingView Charts for Rubicon

By [Rubicon](https://paragraph.com/@rubicon) · 2023-01-20

---

Rubicon has a redesigned Trade page with charts from [TradingView](https://www.tradingview.com/), it’s live now on the App: [**app.rubicon.finance/trade**](http://app.rubicon.finance/trade)

With the new interface, traders can place Limit Orders and Market Orders while tracking markets with live price charts and order books!

Trade Overview
--------------

First, select a trading pair. The Rubicon protocol is permissionless and supports trading of any [ERC-20 token](https://ethereum.org/en/developers/docs/standards/tokens/erc-20/), but for now, the App uses a shortlist of popular tokens on Optimism. Select or flip the tokens to view the chart and order book for the pair:

![](https://storage.googleapis.com/papyrus_images/670c1731d1a4180a77c9de25df7d3278e4c882f5ad7ce4d4b2365ea4f90875e9.gif)

Now it’s time to place a trade. [Market Orders](https://www.investopedia.com/terms/m/marketorder.asp) specify a **quantity** and are executed instantly at the market price, the best possible price on the order book. These orders pay a 0.01% protocol fee for “taking” liquidity off the book. Swaps on Rubicon are effectively market orders that can route across multiple order books!

![](https://storage.googleapis.com/papyrus_images/60d9dbb5496c3151a9136c75ad0df02a27de91233f1943477ddd19b8ce0bf51f.png)

[Limit Orders](https://www.investopedia.com/terms/l/limitorder.asp) specify a **price and a quantity** and are only filled if the market price crosses the limit price. Note that tokens offered in a limit order are sent to the [Rubicon order book contract](https://optimistic.etherscan.io/address/0x7a512d3609211e719737e82c7bb7271ec05da70d) and remain there until the order is filled or canceled. Traders can cancel orders and check their status under the Orders tab or the [History](https://app.rubicon.finance/history) page:

![Clicking 'cancel' will submit a cancel transaction for you to confirm in your wallet](https://storage.googleapis.com/papyrus_images/04cbcefabbfacd3c9a50bf7018863bb75b0dfdc01639fd2989057844bd4ed071.png)

Clicking 'cancel' will submit a cancel transaction for you to confirm in your wallet

To learn more about the Rubicon protocol at a technical level, visit our [**documentation**](https://docs.rubicon.finance). There you can find overviews of the smart contracts (e.g. [RubiconMarket](https://docs.rubicon.finance/docs/protocol/rubicon-market/rubicon-market)) as well as helpful tools for developers like our [Python](https://docs.rubicon.finance/docs/api/rubi-py) and [Rust](https://docs.rubicon.finance/docs/api/rubi-rs) SDKs. If you need help onboarding a trading bot, ask questions in our [Discord](https://discord.com/invite/E7pS24J)!

Live Charts & Market Data
-------------------------

Regardless of what they trade, people love the feature-rich charts from [TradingView](https://www.tradingview.com/). Rubicon integrated the [Technical Analysis Charts](https://www.tradingview.com/HTML5-stock-forex-bitcoin-charting-library/?feature=technical-analysis-charts), which have many chart types, dozens of technical analysis (TA) tools, custom time/date ranges, and seamless price scaling. Our team really likes Fullscreen Mode:

![](https://storage.googleapis.com/papyrus_images/d1be5439927f2c4c30fa5ddbb6a32efb8f517bf0adaa31557d0e426438e3e616.png)

The data that populates the charts, the order books, and open orders is queried from Rubicon’s subgraphs; open APIs for querying historical data from the blockchain. You can use our subgraphs to query market data and historical token prices. Here are links to getting started:

*   [Subgraphs GitHub Repo](https://github.com/RubiconDeFi/rubi-subgraphs)
    
*   [RubiconMarket Subgraph Docs](https://docs.rubicon.finance/docs/api/subgraphs/rubiconmarket-api)
    
*   [RubiconMarket Subgraph on Graph Playground](https://thegraph.com/hosted-service/subgraph/denverbaumgartner/rubiconmarket-light-optimism)
    

Thanks for reading!
-------------------

Subscribe to the Rubicon blog to get new posts sent to your inbox:

[Subscribe](null)

*   [**Rubicon App**](https://app.rubicon.finance/)
    
*   \*\*[Documentation](https://docs.rubicon.finance/) \*\*
    
*   \*\*[Blog](https://mirror.xyz/rubicon.eth) \*\*
    
*   \*\*[GitHub](https://github.com/RubiconDeFi) \*\*
    
*   \*\*[Forum](https://forum.rubicon.finance/) \*\*
    
*   \*\*[Twitter](https://twitter.com/rubicondefi) \*\*
    
*   \*\*[Rubicon Discord](https://discord.com/invite/E7pS24J) \*\*
    

**Alea iacta est.**

**(This post is for educational purposes only. Nothing in it should be construed as financial advice. Do your own research before making investments.)**

---

*Originally published on [Rubicon](https://paragraph.com/@rubicon/tradingview-charts-for-rubicon)*
