goodcryptox-connector 3.2.0-21111 → 3.2.0-21299
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -16390,7 +16390,7 @@ const version = "3.2.0";
|
|
|
16390
16390
|
const pkg = {
|
|
16391
16391
|
version
|
|
16392
16392
|
};
|
|
16393
|
-
const INSTRUCTIONS = 'Access to a goodcryptoX trading runtime, as far as this key allows: reading accounts, instruments, orders, bots, history, candles
|
|
16393
|
+
const INSTRUCTIONS = 'Access to a goodcryptoX trading runtime, as far as this key allows: reading accounts, instruments, orders, bots, history, candles, the current state of a topic, the base currency, credits, the referral program and this key\'s own limits, and previewing orders and DCA or Grid bots without placing them; with a Propose or trading key, proposing orders and bots for a person to review and launch; with a trading key, placing and canceling orders, setting leverage, and creating, changing, stopping and closing its own DCA or Grid bots within the limits a person set on the key. Every price, size and amount is a decimal string: read it as text, never as a floating-point number. A tool that answers "not yet known" means the runtime has not received that data yet: it is not empty and not zero; try again shortly. A tool that writes takes a `requestId` in its body: new for each new action, the same when retrying after no answer.';
|
|
16394
16394
|
function createApiServer(o) {
|
|
16395
16395
|
const base = o.url.replace(/\/+$/, "");
|
|
16396
16396
|
const auth = { authorization: `Bearer ${o.key}` };
|
package/package.json
CHANGED