oanda / v20-javascript

OANDA v20 bindings for Javascript
MIT License
66 stars 31 forks source link

Fixed pricing and transactions streaming functionality #3

Closed enxt closed 7 years ago

enxt commented 7 years ago

The streaming for prices and transactions don't work for me. Currently, the context is waiting to the server send the end (with a status response), but with the streaming only the chunk data must be expected.

dmpettyp commented 7 years ago

Thanks for the patch! This library was created before the streaming endpoints existed and it looks like it was never updated to support them. Because the code is generated I won't be able to take the patch as-is, however you should expect to see streaming support within the next few days.

dmpettyp commented 7 years ago

I've pushed a new version which has better support for streaming endpoints. Also, please check out https://github.com/oanda/v20-javascript-samples which now contains a limited number of sample programs that use the Javascript bindings for v20

enxt commented 7 years ago

Thanks Dave.