{
:gbpusd => Datatypes::Contract.new({
:symbol => "GBP",
:exchange => "IDEALPRO",
:currency => "USD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:forex],
:description => "GBPUSD"
}),
:eurusd => Datatypes::Contract.new({
:symbol => "EUR",
:exchange => "IDEALPRO",
:currency => "USD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:forex],
:description => "EURUSD"
}),
:usdjpy => Datatypes::Contract.new({
:symbol => "USD",
:exchange => "IDEALPRO",
:currency => "JPY",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:forex],
:description => "USDJPY"
})
}
{
:es => Datatypes::Contract.new({
:symbol => "ES",
:expiry => self.next_expiry(Time.now),
:exchange => "GLOBEX",
:currency => "USD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:future],
:multiplier => 50,
:description => "E-Mini S&P 500"
}),
:gbp => Datatypes::Contract.new({
:symbol => "GBP",
:expiry => self.next_expiry(Time.now),
:exchange => "GLOBEX",
:currency => "USD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:future],
:multiplier => 62500,
:description => "British Pounds"
}),
:eur => Datatypes::Contract.new({
:symbol => "EUR",
:expiry => self.next_expiry(Time.now),
:exchange => "GLOBEX",
:currency => "USD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:future],
:multiplier => 12500,
:description => "Euro FX"
}),
:jpy => Datatypes::Contract.new({
:symbol => "JPY",
:expiry => self.next_expiry(Time.now),
:exchange => "GLOBEX",
:currency => "USD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:future],
:multiplier => 12500000,
:description => "Japanese Yen"
}),
:hsi => Datatypes::Contract.new({
:symbol => "HSI",
:expiry => self.next_expiry(Time.now),
:exchange => "HKFE",
:currency => "HKD",
:sec_type => Datatypes::Contract::SECURITY_TYPES[:future],
:multiplier => 50,
:description => "Hang Seng Index"
})
}