Skip to content

Corrigir gráfico #219

@schiavonxv

Description

@schiavonxv

O TradingView está bloqueando iFrame.

Agora é necessário usar o widget deles.

O novo código é:

<script type="text/javascript" src="https://s3.amazonaws.com/tradingview/tv.js"></script>
<script type="text/javascript">

new TradingView.widget({
     "width": 800,
    "height": 600,
    "symbol": "FOXBIT:BTCBRL",
    "interval": "240",
    "timezone": "exchange",
    "theme": "White",
    "toolbar_bg": "#f4f7f9",
    "hide_side_toolbar": false,
    "watchlist": [
    "BITFINEX:BTCUSD",
    "OKCOIN:BTCCNY"
    ],
    "details": true,
    "locale": "pt",
    "hideideas": true
});

</script>

Só trocar o width e height pelo tamanho ou usar autosize: true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions