Script responsável por exibir cotação p/ moedas.
Obs.: esse script tem cache de 1 hora, existem alguns atributos:
Obs.: esse script tem cache de 1 hora
<?xml version="1.0"?>
<root>
<info>
<detail>
<name>Dólar Comercial</name>
<code>USD</code>
<country>Estados Unidos</country>
</detail>
<createdAt>2021-01-28 13:28:42</createdAt>
</info>
<exchange>
<last>
<bidvalue>5.4222</bidvalue>
<askvalue>5.4232</askvalue>
<maxbid>5.4637</maxbid>
<minbid>5.3924</minbid>
<variationbid>0.0161</variationbid>
<variationpercentbid>0.298</variationpercentbid>
<updatedAt>2021-01-28 13:26:00</updatedAt>
</last>
<docs>
<doc>
<bidvalue>5.4222</bidvalue>
<askvalue>5.4232</askvalue>
<maxbid>5.4637</maxbid>
<minbid>5.3924</minbid>
<variationbid>0.0161</variationbid>
<variationpercentbid>0.298</variationpercentbid>
<updatedAt>2021-01-28 13:26:00</updatedAt>
</doc>
<doc>
<bidvalue>5.4207</bidvalue>
<askvalue>5.4212</askvalue>
<maxbid>5.4637</maxbid>
<minbid>5.3924</minbid>
<variationbid>0.0141</variationbid>
<variationpercentbid>0.261</variationpercentbid>
<updatedAt>2021-01-28 13:25:00</updatedAt>
</doc>
<doc>
<bidvalue>5.4232</bidvalue>
<askvalue>5.4242</askvalue>
<maxbid>5.4637</maxbid>
<minbid>5.3924</minbid>
<variationbid>0.0171</variationbid>
<variationpercentbid>0.316</variationpercentbid>
<updatedAt>2021-01-28 13:24:00</updatedAt>
</doc>
</docs>
</exchange>
</root>