skylinezum / node-coinigy

Node wrapper for Coinigy's REST API
MIT License
18 stars 7 forks source link

Account functions test coverage #3

Open awitherow opened 7 years ago

awitherow commented 7 years ago

Hmm a lot of these will look interesting to test when you have to use a real account. I am not sure I want to run a test and do any transactions 😅

Thoughts on how to make the test environment as safe as possible for users of this package? Does Coinigy have a "sandbox" that provides test credentials for such a thing?

skylinezum commented 7 years ago

Unfortunately there is no sandbox environment on coinigy that I know of. But since coinigy has no market ordering option, you can just make a limit order that will never fill. (i.e. Buy at 10% of last price)

Edit: We should ask for market orders.

williamkehl commented 7 years ago

@skylinezum is correct in that we do not yet provide a sandbox, however that's in our future plans. Generally speaking you can get through a great deal of testing with a very small amount of cryptocurrency as most minimums are a dollar or two, in the meantime. Market, conditional, OCO, trailing stops are all on our development radar so stay tuned.