Git Product home page Git Product logo

Comments (3)

Endogen avatar Endogen commented on September 15, 2024

Hey, i guess this wasn't very clear in the README but you need to call the method like this:

from tradeogre import TradeOgre

TradeOgre().order(uuid="1702a7bc-6a18-92c0-c1fe-aaf581d2352d", key="some_key", secret="some_secret"

I'VE JUST NOW REWORKED THE IMPLEMENTATION! Please make sure to grab the new version 😄
And you have to replace some_key and some_secret with the correct key and secret from your TradeOgre account

or you can also do something like this:

from tradeogre import TradeOgre

to = TradeOgre(key="01191d89c2ad11ac5eabca84f6ebe9c3", secret="cf695053bce02950c4ab08124335e593")

result_orders = to.orders(market="BTC-LOKI")
print(result_orders)

result_order = to.order(uuid="1702a7bc-6a18-92c0-c1fe-aaf581d2352d")
print(result_order)

And again you have to of course replace 1702a7bc-6a18-92c0-c1fe-aaf581d2352d with the uuid of your own order

from tradeogrepy.

ddrr1337 avatar ddrr1337 commented on September 15, 2024

Thanks, now is working perfect!!!!

from tradeogrepy.

Endogen avatar Endogen commented on September 15, 2024

Great 😄

from tradeogrepy.

Related Issues (2)

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.