New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

orionx-sdk

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orionx-sdk - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "orionx-sdk",
"version": "1.0.2",
"version": "1.0.3",
"description": "Help developers with Orionx integrations",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -121,2 +121,23 @@ <p align="center">

### placeLimitOrder
The `placeLimitOrder()` creates and returns a limit order .
```js
await Orionx.placeLimitOrder({marketCode: ':marketCode', amount: :amount, limitPrice: :limitPrice, sell: :sell})
```
#### Params
**marketCode:** Market code
**amount** The amount to be bought or sold, this amount must be multiplied by 10 ^ (unit amount)
For example BTC units = 8 so to sell 1 BTC amount should be 1 \* 10⁸.
**limitPrice** The price for the order
**sell** Boolean that defines if you buy or sell
---
### placeMarketOrder

@@ -123,0 +144,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc