26.10.2014 Views

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> <strong>1.0</strong> <strong>Library</strong> - <strong>User</strong>'s <strong>Guide</strong><br />

Example<br />

Dim contrib as AdxRtContribute<br />

Set contrib = New AdxRtContribute<br />

contrib.Source = "DDS"<br />

contrib.ItemName = "EUR="<br />

ret = contrib.Contribute("BID", "<strong>1.0</strong>512")<br />

'Contribute a "BID" field value for the item "EUR=" directly. '<br />

Dim FieldNameArray(0 to 1) as Variant<br />

Dim FieldValueArray(0 to 1) as Variant<br />

contrib.ItemName = "FRF="<br />

FieldNameArray(0) = "BID"<br />

FieldNameArray(1) = "ASK"<br />

FieldValueArray(0) = 5.8910<br />

FieldValueArray(1) = 5.8950<br />

ret = RtObject.Contribute(FieldNameArray, FieldValueArray)<br />

'Contribute "BID" and "ASK" field values for the item "FRF="<br />

using arrays. '<br />

34

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!