import React, {Component} from 'react';
import {View, Text, Dimensions} from 'react-native';
import {WebView} from 'react-native-webview';
const {height} = Dimensions.get('window');
const Trading = (props) => {
  return (
    <View style={{flex: 1}}>
      <WebView
        style={{height: '100%', width: '100%'}}
        source={{
          uri:
            'http://api.dcvinvest.com/webview/tradingview/chart?height=' +
            (height - 150),
        }}
      />
    </View>
  );
};

export default Trading;
