Git Product home page Git Product logo

oandav20.3's Issues

Great work!

Loving the Oanda Library you have created. Originally I took the library and broke it all apart for my needs but that also broke me from any future updates. Today I decided to user your library the was it is and refactor my project(s). Obviously everyone has different coding styles and ours are a little different but I really appreciate the effort you have put into this project.

I'm on board and as I develop my system I'll be happy to participate in your project.
Thanks,
Scott

Error in Rest20.GetPricingAsync(AccountId, parameters)

Hello. When I use the following code:

var AcctPairsList = new List() { "AUD_JPY", "CAD_JPY", "CHF_JPY", "GBP_JPY", "NZD_JPY", "USD_JPY", "AUD_NZD", "AUD_USD", "USD_CAD", "USD_CHF", "USD_DKK", "USD_NOK", "USD_SEK", "GBP_USD", "NZD_USD" };
var parameters = new Rest20.PricingParameters() { instruments = AcctPairsList };
var AcctPrice = await Rest20.GetPricingAsync(AccountId, parameters);

I get the following error message.

Input string '1000000.0' is not a valid integer. Path 'prices[7].bids[0].liquidity', line 1, position 3334.

Think I traced it to PriceBucket.cs line 16. public int liquidity { get; set; } should be decimal??

Let me know what you think. Thanks.
Regards,
Michael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.