Skip to content

Conversation

@kpihus
Copy link

@kpihus kpihus commented Apr 25, 2019

…on streams

var Field = require('./base').Field;

var pricing_common = require('./pricing_common');
var Price = pricing_common.Price;
Copy link

@joaocosta joaocosta May 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to http://developer.oanda.com/rest-live-v20/pricing-ep/, this should be ClientPrice, not Price.

Note that the price stream endpoint returns the time field which class ClientPrice supports, but class Price does not.

In other words, the correct fix for this problem is at #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants