Trades
The trades page contains all the trades that have taken place during the current trading session.
Branded button for Trades page
You can use the branded button for the hosted trades page.
<fyers-button data-open="tradebook" data-fyers="API_KEY"></fyers-button>
Custom button for Trades page
You can create a custom button for the hosted trades page and assign it to the same functionality.
<!--A custom button--!>
<button id="custom-button">Trades</button>
<script>
Fyers.ready(function(){
var fyers = new Fyers("API_KEY")
//link the button id to trades module
fyers.linkandredirect("#custom-button","tradebook");
})
</script>