Skip to content

Instantly share code, notes, and snippets.

View markunsworth's full-sized avatar

Mark Unsworth markunsworth

View GitHub Profile
@markunsworth
markunsworth / gist:7104240
Last active December 26, 2015 05:59
List assets JSON response
{
"meta":{
"page":1,
"pagesize": 100,
"items": 2,
"total_items": 2
},
"assets": [
{
"name": "Anglo American PLC",
@markunsworth
markunsworth / gist:7104462
Created October 22, 2013 17:14
asset list xml response
<response>
<meta>
<page>1</page>
<pagesize>100</pagesize>
<items>2</items>
<total_items>1</total_items>
</meta>
<assets>
<asset>
<name>Anglo American PLC</name>
@markunsworth
markunsworth / gist:7104507
Created October 22, 2013 17:17
asset list text response
meta:page:1
meta:pagesize:100
meta:items:2
meta:total_items:2
name: Anglo American PLC"
type: Equity
id:Bloomberg:AAL:LN
id:Reuters:AAL.L
id:ISIN:GB00B1XZS820
{
"name": "ARM Holdings PLC",
"identifiers": [
{
"identifier": "ARM:LN",
"type": "Bloomberg"
},
{
"identifier": "ARMH:US",
"type": "Bloomberg"
name:ARM Holdings PLC
identifier:BloomBerg|ARM:LN
identifier:BloomBerg|ARMH:US
{
"identifier": "$MMM",
"type": "Cashtag"
}
<response>
<name>ARM Holdings PLC</name>
<identifiers>
<identifier>
<value>ARM:LN</value>
<type>Bloomberg</type>
</identifier>
<identifier>
<value>ARMH:US</value>
<type>Bloomberg</type>
name: ARM Holdings PLC
identifier:$ARMH
startdate:2012-12-31T00:00:00Z
enddate:2013-01-01T00:00:00Z
date:2013-01-01T00:00:00Z
sentiment:current:-26
sentiment:previous:-24
sentiment:change:-2
volume:change:-20
{
"sentiment": {
"current": 64,
"previous": 58,
"change": -6
}
}
{
"volume":{
"change": -36
}
}