@stoqey/ib 1.3.18 → 1.3.19
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/dist/api/api.d.ts +6 -5
- package/dist/api/api.js +5 -4
- package/dist/api/api.js.map +1 -1
- package/dist/api/contract/crypto.d.ts +13 -0
- package/dist/api/contract/crypto.js +23 -0
- package/dist/api/contract/crypto.js.map +1 -0
- package/dist/api/contract/forex.js.map +1 -1
- package/dist/api/historical/bar-size-setting.d.ts +1 -1
- package/dist/api/order/condition/execution-condition.d.ts +4 -4
- package/dist/api/order/condition/execution-condition.js +4 -4
- package/dist/api/order/condition/margin-condition.d.ts +3 -2
- package/dist/api/order/condition/margin-condition.js +3 -2
- package/dist/api/order/condition/margin-condition.js.map +1 -1
- package/dist/api/order/condition/percent-change-condition.d.ts +5 -4
- package/dist/api/order/condition/percent-change-condition.js +5 -4
- package/dist/api/order/condition/percent-change-condition.js.map +1 -1
- package/dist/api/order/condition/price-condition.d.ts +5 -4
- package/dist/api/order/condition/price-condition.js +5 -4
- package/dist/api/order/condition/price-condition.js.map +1 -1
- package/dist/api/order/condition/time-condition.d.ts +3 -2
- package/dist/api/order/condition/time-condition.js +3 -2
- package/dist/api/order/condition/time-condition.js.map +1 -1
- package/dist/api/order/condition/volume-condition.d.ts +6 -6
- package/dist/api/order/condition/volume-condition.js +6 -6
- package/dist/api-next/api-next.d.ts +48 -47
- package/dist/api-next/api-next.js +51 -50
- package/dist/api-next/api-next.js.map +1 -1
- package/dist/api-next/market/tick-type.d.ts +1 -1
- package/dist/common/configuration.js.map +1 -1
- package/dist/common/errorCode.d.ts +2 -0
- package/dist/common/errorCode.js +2 -0
- package/dist/common/errorCode.js.map +1 -1
- package/dist/common/logger.js.map +1 -1
- package/dist/core/api-next/auto-connection.js.map +1 -1
- package/dist/core/api-next/console-logger.js.map +1 -1
- package/dist/core/api-next/logger.js.map +1 -1
- package/dist/core/api-next/map.js.map +1 -1
- package/dist/core/api-next/subscription-registry.js.map +1 -1
- package/dist/core/api-next/subscription.js.map +1 -1
- package/dist/core/io/controller.js.map +1 -1
- package/dist/core/io/decoder.js.map +1 -1
- package/dist/core/io/encoder.d.ts +6 -6
- package/dist/core/io/encoder.js +3 -3
- package/dist/core/io/encoder.js.map +1 -1
- package/dist/core/io/socket.js.map +1 -1
- package/dist/tests/matchers.js.map +1 -1
- package/dist/tests/unit/api/api.test.js.map +1 -1
- package/dist/tests/unit/api/connect.test.js.map +1 -1
- package/dist/tests/unit/api/contract-details.test.js +23 -42
- package/dist/tests/unit/api/contract-details.test.js.map +1 -1
- package/dist/tests/unit/api/head-timestamp.test.js.map +1 -1
- package/dist/tests/unit/api/histogram-data.test.js.map +1 -1
- package/dist/tests/unit/api/historical-data.test.js +6 -6
- package/dist/tests/unit/api/historical-data.test.js.map +1 -1
- package/dist/tests/unit/api/market-data.test.js +26 -1
- package/dist/tests/unit/api/market-data.test.js.map +1 -1
- package/dist/tests/unit/api/market-scanner.test.js.map +1 -1
- package/dist/tests/unit/api/matching-symbols.test.js.map +1 -1
- package/dist/tests/unit/api/order/cancelOrder.test.js +16 -16
- package/dist/tests/unit/api/order/cancelOrder.test.js.map +1 -1
- package/dist/tests/unit/api/order/placeConditionalOrder.test.d.ts +1 -0
- package/dist/tests/unit/api/order/placeConditionalOrder.test.js +352 -0
- package/dist/tests/unit/api/order/placeConditionalOrder.test.js.map +1 -0
- package/dist/tests/unit/api/order/placeOrder.test.js +89 -26
- package/dist/tests/unit/api/order/placeOrder.test.js.map +1 -1
- package/dist/tests/unit/api/order/reqAllOpenOrders.test.js.map +1 -1
- package/dist/tests/unit/api/order/reqCompletedOrders.test.js.map +1 -1
- package/dist/tests/unit/api/wsh-event-data.test.js +6 -3
- package/dist/tests/unit/api/wsh-event-data.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-account-summary.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-contract-details.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-historical-data-updates.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-historical-data.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-historical-ticks-bid-ask.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-historical-ticks-last.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-historical-ticks-mid.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-market-data.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-market-depth-l2.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-pnl-signle.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-pnl.test.js.map +1 -1
- package/dist/tests/unit/api-next/get-positions.test.js.map +1 -1
- package/dist/tests/unit/api-next-live/get-contract-details.test.js +20 -4
- package/dist/tests/unit/api-next-live/get-contract-details.test.js.map +1 -1
- package/dist/tests/unit/api-next-live/subscription-registry.test.js +1 -1
- package/dist/tests/unit/api-next-live/subscription-registry.test.js.map +1 -1
- package/dist/tests/unit/configuration.test.js.map +1 -1
- package/dist/tests/unit/{contracts.d.ts → sample-data/contracts.d.ts} +5 -3
- package/dist/tests/unit/sample-data/contracts.js +32 -0
- package/dist/tests/unit/sample-data/contracts.js.map +1 -0
- package/dist/tools/account-summary.js.map +1 -1
- package/dist/tools/common/ib-api-next-app.js.map +1 -1
- package/dist/tools/histogram-data.js.map +1 -1
- package/dist/tools/historical-data-updates.js.map +1 -1
- package/dist/tools/historical-data.js.map +1 -1
- package/dist/tools/historical-ticks-bid-ask.js.map +1 -1
- package/dist/tools/historical-ticks-last.js.map +1 -1
- package/dist/tools/historical-ticks-mid.js.map +1 -1
- package/dist/tools/market-data-snapshot.js.map +1 -1
- package/dist/tools/market-data.js.map +1 -1
- package/dist/tools/market-depth.js.map +1 -1
- package/dist/tools/pnl-single.js.map +1 -1
- package/dist/tools/pnl.js.map +1 -1
- package/dist/tools/positions.js.map +1 -1
- package/dist/tools/search-contracts.js.map +1 -1
- package/package.json +9 -9
- package/dist/tests/unit/contracts.js +0 -15
- package/dist/tests/unit/contracts.js.map +0 -1
package/dist/api/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "eventemitter3";
|
|
2
|
-
import { DurationUnit, MarketDataType, WhatToShow } from "..";
|
|
2
|
+
import { DurationUnit, MarketDataType, OrderStatus, WhatToShow } from "..";
|
|
3
3
|
import { ErrorCode } from "../common/errorCode";
|
|
4
4
|
import { Contract } from "./contract/contract";
|
|
5
5
|
import { ContractDescription } from "./contract/contractDescription";
|
|
@@ -231,11 +231,12 @@ export declare class IBApi extends EventEmitter {
|
|
|
231
231
|
* Note: API clients cannot cancel individual orders placed by other clients.
|
|
232
232
|
* Use [[reqGlobalCancel]] instead.
|
|
233
233
|
*
|
|
234
|
-
* @param
|
|
234
|
+
* @param orderId Specify which order should be cancelled by its identifier.
|
|
235
|
+
* @param manualOrderCancelTime Specify the time the order should be cancelled. An empty string will cancel the order immediately.
|
|
235
236
|
*
|
|
236
237
|
* @see [[placeOrder]], [[reqGlobalCancel]]
|
|
237
238
|
*/
|
|
238
|
-
cancelOrder(orderId: number): IBApi;
|
|
239
|
+
cancelOrder(orderId: number, manualOrderCancelTime?: string): IBApi;
|
|
239
240
|
/**
|
|
240
241
|
* Cancels subscription for real time updated daily PnL.
|
|
241
242
|
*
|
|
@@ -465,7 +466,7 @@ export declare class IBApi extends EventEmitter {
|
|
|
465
466
|
* Requests event data from the wSH calendar.
|
|
466
467
|
*
|
|
467
468
|
* @param reqId The unique request identifier.
|
|
468
|
-
* @param
|
|
469
|
+
* @param wshEventData Contract id (conId) of ticker or WshEventData describing wanted events.
|
|
469
470
|
*
|
|
470
471
|
* @see [[reqCancelWshEventData]]
|
|
471
472
|
*/
|
|
@@ -1628,7 +1629,7 @@ export declare interface IBApi {
|
|
|
1628
1629
|
*
|
|
1629
1630
|
* @see [[placeOrder]], [[reqAllOpenOrders]], [[reqAutoOpenOrders]]
|
|
1630
1631
|
*/
|
|
1631
|
-
on(event: EventName.orderStatus, listener: (orderId: number, status:
|
|
1632
|
+
on(event: EventName.orderStatus, listener: (orderId: number, status: OrderStatus, filled: number, remaining: number, avgFillPrice: number, permId?: number, parentId?: number, lastFillPrice?: number, clientId?: number, whyHeld?: string, mktCapPrice?: number) => void): this;
|
|
1632
1633
|
/**
|
|
1633
1634
|
* Receives PnL updates in real time for the daily PnL and the total unrealized PnL for an account.
|
|
1634
1635
|
*
|
package/dist/api/api.js
CHANGED
|
@@ -230,12 +230,13 @@ class IBApi extends eventemitter3_1.EventEmitter {
|
|
|
230
230
|
* Note: API clients cannot cancel individual orders placed by other clients.
|
|
231
231
|
* Use [[reqGlobalCancel]] instead.
|
|
232
232
|
*
|
|
233
|
-
* @param
|
|
233
|
+
* @param orderId Specify which order should be cancelled by its identifier.
|
|
234
|
+
* @param manualOrderCancelTime Specify the time the order should be cancelled. An empty string will cancel the order immediately.
|
|
234
235
|
*
|
|
235
236
|
* @see [[placeOrder]], [[reqGlobalCancel]]
|
|
236
237
|
*/
|
|
237
|
-
cancelOrder(orderId) {
|
|
238
|
-
this.controller.schedule(() => this.controller.encoder.cancelOrder(orderId));
|
|
238
|
+
cancelOrder(orderId, manualOrderCancelTime) {
|
|
239
|
+
this.controller.schedule(() => this.controller.encoder.cancelOrder(orderId, manualOrderCancelTime));
|
|
239
240
|
return this;
|
|
240
241
|
}
|
|
241
242
|
/**
|
|
@@ -524,7 +525,7 @@ class IBApi extends eventemitter3_1.EventEmitter {
|
|
|
524
525
|
* Requests event data from the wSH calendar.
|
|
525
526
|
*
|
|
526
527
|
* @param reqId The unique request identifier.
|
|
527
|
-
* @param
|
|
528
|
+
* @param wshEventData Contract id (conId) of ticker or WshEventData describing wanted events.
|
|
528
529
|
*
|
|
529
530
|
* @see [[reqCancelWshEventData]]
|
|
530
531
|
*/
|
package/dist/api/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":";;;;;;AAAA;;GA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CAAC,KAAK,EAAE,YAAY,CAAC,CAChE,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;OAMG;IACH,0BAA0B,CAAC,KAAa;QACtC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,CAC5B,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,wBAAwB,CAAC,KAAK,CAAC,CACxD,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;OAMG;IACH,iBAAiB,CAAC,QAAkB;QAClC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,CAC5B,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CACpD,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,KAAa;QACvB,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;QAC3E,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAr/CD,sBAq/CC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import SecType from "../data/enum/sec-type";
|
|
2
|
+
import { Contract } from "./contract";
|
|
3
|
+
/**
|
|
4
|
+
* Crypto contract.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Crypto implements Contract {
|
|
7
|
+
symbol: string;
|
|
8
|
+
exchange?: string;
|
|
9
|
+
currency?: string;
|
|
10
|
+
constructor(symbol: string, exchange?: string, currency?: string);
|
|
11
|
+
secType: SecType;
|
|
12
|
+
}
|
|
13
|
+
export default Crypto;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Crypto = void 0;
|
|
7
|
+
const sec_type_1 = __importDefault(require("../data/enum/sec-type"));
|
|
8
|
+
/**
|
|
9
|
+
* Crypto contract.
|
|
10
|
+
*/
|
|
11
|
+
class Crypto {
|
|
12
|
+
constructor(symbol, exchange, currency) {
|
|
13
|
+
this.symbol = symbol;
|
|
14
|
+
this.exchange = exchange;
|
|
15
|
+
this.currency = currency;
|
|
16
|
+
this.secType = sec_type_1.default.CRYPTO;
|
|
17
|
+
this.currency = this.currency ?? "USD";
|
|
18
|
+
this.exchange = this.exchange ?? "PAXOS";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Crypto = Crypto;
|
|
22
|
+
exports.default = Crypto;
|
|
23
|
+
//# sourceMappingURL=crypto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crypto.js","sourceRoot":"","sources":["../../../src/api/contract/crypto.ts"],"names":[],"mappings":";;;;;;AAAA,qEAA4C;AAG5C;;GAEG;AACH,MAAa,MAAM;IACjB,YACS,MAAc,EACd,QAAiB,EACjB,QAAiB;QAFjB,WAAM,GAAN,MAAM,CAAQ;QACd,aAAQ,GAAR,QAAQ,CAAS;QACjB,aAAQ,GAAR,QAAQ,CAAS;QAMnB,YAAO,GAAG,kBAAO,CAAC,MAAM,CAAC;QAJ9B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,OAAO,CAAC;IAC3C,CAAC;CAGF;AAXD,wBAWC;AAED,kBAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forex.js","sourceRoot":"","sources":["../../../src/api/contract/forex.ts"],"names":[],"mappings":";;;;;;AAAA,qEAA4C;AAG5C;;GAEG;AACH,MAAa,KAAK;IAwBhB,YAAmB,MAAc,EAAS,QAAgB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"}
|
|
@@ -17,10 +17,10 @@ export declare class ExecutionCondition implements OrderCondition {
|
|
|
17
17
|
/**
|
|
18
18
|
* Create a [[ExecutionCondition]] object.
|
|
19
19
|
*
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
22
|
-
* @param
|
|
23
|
-
* @param conjunctionConnection
|
|
20
|
+
* @param symbol When an execution on symbol
|
|
21
|
+
* @param exchange at exchange
|
|
22
|
+
* @param secType for this secType
|
|
23
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
24
24
|
*/
|
|
25
25
|
constructor(exchange: string, secType: SecType, symbol: string, conjunctionConnection: ConjunctionConnection);
|
|
26
26
|
}
|
|
@@ -12,10 +12,10 @@ class ExecutionCondition {
|
|
|
12
12
|
/**
|
|
13
13
|
* Create a [[ExecutionCondition]] object.
|
|
14
14
|
*
|
|
15
|
-
* @param
|
|
16
|
-
* @param
|
|
17
|
-
* @param
|
|
18
|
-
* @param conjunctionConnection
|
|
15
|
+
* @param symbol When an execution on symbol
|
|
16
|
+
* @param exchange at exchange
|
|
17
|
+
* @param secType for this secType
|
|
18
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
19
19
|
*/
|
|
20
20
|
constructor(exchange, secType, symbol, conjunctionConnection) {
|
|
21
21
|
this.exchange = exchange;
|
|
@@ -12,8 +12,9 @@ export declare class MarginCondition implements OperatorCondition {
|
|
|
12
12
|
/**
|
|
13
13
|
* Create a [[MarginCondition]] object.
|
|
14
14
|
*
|
|
15
|
-
* @param
|
|
16
|
-
* @param
|
|
15
|
+
* @param isMore If margin is above/below
|
|
16
|
+
* @param percent given percent
|
|
17
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
17
18
|
*/
|
|
18
19
|
constructor(percent: number, isMore: boolean, conjunctionConnection: ConjunctionConnection);
|
|
19
20
|
get strValue(): string;
|
|
@@ -9,8 +9,9 @@ class MarginCondition {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a [[MarginCondition]] object.
|
|
11
11
|
*
|
|
12
|
-
* @param
|
|
13
|
-
* @param
|
|
12
|
+
* @param isMore If margin is above/below
|
|
13
|
+
* @param percent given percent
|
|
14
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
14
15
|
*/
|
|
15
16
|
constructor(percent, isMore, conjunctionConnection) {
|
|
16
17
|
this.percent = percent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margin-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/margin-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAGlE;;GAEG;AACH,MAAa,eAAe;IAG1B
|
|
1
|
+
{"version":3,"file":"margin-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/margin-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAGlE;;GAEG;AACH,MAAa,eAAe;IAG1B;;;;;;OAMG;IACH,YACS,OAAe,EACf,MAAe,EACf,qBAA4C;QAF5C,YAAO,GAAP,OAAO,CAAQ;QACf,WAAM,GAAN,MAAM,CAAS;QACf,0BAAqB,GAArB,qBAAqB,CAAuB;QAZrD,SAAI,GAAG,yCAAkB,CAAC,MAAM,CAAC;IAa9B,CAAC;IAEJ,IAAI,QAAQ;QACV,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;IAC3B,CAAC;CACF;AAnBD,0CAmBC;AAED,kBAAe,eAAe,CAAC"}
|
|
@@ -14,10 +14,11 @@ export declare class PercentChangeCondition implements ContractCondition {
|
|
|
14
14
|
/**
|
|
15
15
|
* Create a [[PercentChangeCondition]] object.
|
|
16
16
|
*
|
|
17
|
-
* @param percent
|
|
18
|
-
* @param
|
|
19
|
-
* @param
|
|
20
|
-
* @param
|
|
17
|
+
* @param isMore If there is a price percent change measured against last close price above or below...
|
|
18
|
+
* @param percent this amount...
|
|
19
|
+
* @param conId on this contract
|
|
20
|
+
* @param exchange when traded on this exchange...
|
|
21
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
21
22
|
*/
|
|
22
23
|
constructor(percent: number, conId: number, exchange: string, isMore: boolean, conjunctionConnection: ConjunctionConnection);
|
|
23
24
|
get strValue(): string;
|
|
@@ -9,10 +9,11 @@ class PercentChangeCondition {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a [[PercentChangeCondition]] object.
|
|
11
11
|
*
|
|
12
|
-
* @param percent
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
15
|
-
* @param
|
|
12
|
+
* @param isMore If there is a price percent change measured against last close price above or below...
|
|
13
|
+
* @param percent this amount...
|
|
14
|
+
* @param conId on this contract
|
|
15
|
+
* @param exchange when traded on this exchange...
|
|
16
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
16
17
|
*/
|
|
17
18
|
constructor(percent, conId, exchange, isMore, conjunctionConnection) {
|
|
18
19
|
this.percent = percent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"percent-change-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/percent-change-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAGlE;;GAEG;AACH,MAAa,sBAAsB;IAGjC
|
|
1
|
+
{"version":3,"file":"percent-change-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/percent-change-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAGlE;;GAEG;AACH,MAAa,sBAAsB;IAGjC;;;;;;;;OAQG;IACH,YACS,OAAe,EACf,KAAa,EACb,QAAgB,EAChB,MAAe,EACf,qBAA4C;QAJ5C,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,GAAL,KAAK,CAAQ;QACb,aAAQ,GAAR,QAAQ,CAAQ;QAChB,WAAM,GAAN,MAAM,CAAS;QACf,0BAAqB,GAArB,qBAAqB,CAAuB;QAhBrD,SAAI,GAAG,yCAAkB,CAAC,aAAa,CAAC;IAiBrC,CAAC;IAEJ,IAAI,QAAQ;QACV,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;IAC3B,CAAC;CACF;AAvBD,wDAuBC;AAED,kBAAe,sBAAsB,CAAC"}
|
|
@@ -16,11 +16,12 @@ export declare class PriceCondition implements ContractCondition {
|
|
|
16
16
|
/**
|
|
17
17
|
* Create a [[PriceCondition]] object.
|
|
18
18
|
*
|
|
19
|
-
* @param conId
|
|
20
|
-
* @param exchange
|
|
21
|
-
* @param price
|
|
19
|
+
* @param conId When this contract...
|
|
20
|
+
* @param exchange traded on this exchange
|
|
21
|
+
* @param isMore has a price above/below
|
|
22
|
+
* @param price this quantity
|
|
22
23
|
* @param triggerMethod TODO document
|
|
23
|
-
* @param conjunctionConnection
|
|
24
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
24
25
|
*/
|
|
25
26
|
constructor(price: number, triggerMethod: TriggerMethod, conId: number, exchange: string, isMore: boolean, conjunctionConnection: ConjunctionConnection);
|
|
26
27
|
get strValue(): string;
|
|
@@ -9,11 +9,12 @@ class PriceCondition {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a [[PriceCondition]] object.
|
|
11
11
|
*
|
|
12
|
-
* @param conId
|
|
13
|
-
* @param exchange
|
|
14
|
-
* @param price
|
|
12
|
+
* @param conId When this contract...
|
|
13
|
+
* @param exchange traded on this exchange
|
|
14
|
+
* @param isMore has a price above/below
|
|
15
|
+
* @param price this quantity
|
|
15
16
|
* @param triggerMethod TODO document
|
|
16
|
-
* @param conjunctionConnection
|
|
17
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
17
18
|
*/
|
|
18
19
|
constructor(price, triggerMethod, conId, exchange, isMore, conjunctionConnection) {
|
|
19
20
|
this.price = price;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/price-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAIlE;;GAEG;AACH,MAAa,cAAc;IAGzB
|
|
1
|
+
{"version":3,"file":"price-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/price-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAIlE;;GAEG;AACH,MAAa,cAAc;IAGzB;;;;;;;;;OASG;IACH,YACS,KAAa,EACb,aAA4B,EAC5B,KAAa,EACb,QAAgB,EAChB,MAAe,EACf,qBAA4C;QAL5C,UAAK,GAAL,KAAK,CAAQ;QACb,kBAAa,GAAb,aAAa,CAAe;QAC5B,UAAK,GAAL,KAAK,CAAQ;QACb,aAAQ,GAAR,QAAQ,CAAQ;QAChB,WAAM,GAAN,MAAM,CAAS;QACf,0BAAqB,GAArB,qBAAqB,CAAuB;QAlBrD,SAAI,GAAG,yCAAkB,CAAC,KAAK,CAAC;IAmB7B,CAAC;IAEJ,IAAI,QAAQ;QACV,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;IACzB,CAAC;CACF;AAzBD,wCAyBC;AAED,kBAAe,cAAc,CAAC"}
|
|
@@ -12,8 +12,9 @@ export declare class TimeCondition implements OperatorCondition {
|
|
|
12
12
|
/**
|
|
13
13
|
* Create a [[TimeCondition]] object.
|
|
14
14
|
*
|
|
15
|
-
* @param
|
|
16
|
-
* @param
|
|
15
|
+
* @param isMore Before or after...
|
|
16
|
+
* @param time this time... (Valid format: "YYYYMMDD HH:MM:SS")
|
|
17
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
17
18
|
*/
|
|
18
19
|
constructor(time: string, isMore: boolean, conjunctionConnection: ConjunctionConnection);
|
|
19
20
|
get strValue(): string;
|
|
@@ -9,8 +9,9 @@ class TimeCondition {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a [[TimeCondition]] object.
|
|
11
11
|
*
|
|
12
|
-
* @param
|
|
13
|
-
* @param
|
|
12
|
+
* @param isMore Before or after...
|
|
13
|
+
* @param time this time... (Valid format: "YYYYMMDD HH:MM:SS")
|
|
14
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
14
15
|
*/
|
|
15
16
|
constructor(time, isMore, conjunctionConnection) {
|
|
16
17
|
this.time = time;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/time-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAGlE;;GAEG;AACH,MAAa,aAAa;IAGxB
|
|
1
|
+
{"version":3,"file":"time-condition.js","sourceRoot":"","sources":["../../../../src/api/order/condition/time-condition.ts"],"names":[],"mappings":";;;AACA,uEAAkE;AAGlE;;GAEG;AACH,MAAa,aAAa;IAGxB;;;;;;OAMG;IACH,YACS,IAAY,EACZ,MAAe,EACf,qBAA4C;QAF5C,SAAI,GAAJ,IAAI,CAAQ;QACZ,WAAM,GAAN,MAAM,CAAS;QACf,0BAAqB,GAArB,qBAAqB,CAAuB;QAZrD,SAAI,GAAG,yCAAkB,CAAC,IAAI,CAAC;IAa5B,CAAC;IAEJ,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;CACF;AAnBD,sCAmBC;AAED,kBAAe,aAAa,CAAC"}
|
|
@@ -12,13 +12,13 @@ export declare class VolumeCondition implements ContractCondition {
|
|
|
12
12
|
conjunctionConnection: ConjunctionConnection;
|
|
13
13
|
type: OrderConditionType;
|
|
14
14
|
/**
|
|
15
|
-
* Create a [[
|
|
15
|
+
* Create a [[VolumeCondition]] object.
|
|
16
16
|
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
19
|
-
* @param
|
|
20
|
-
* @param
|
|
21
|
-
* @param conjunctionConnection
|
|
17
|
+
* @param conId Whenever contract...
|
|
18
|
+
* @param exchange When traded at
|
|
19
|
+
* @param isMore reaches a volume higher/lower
|
|
20
|
+
* @param volume than this...
|
|
21
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
22
22
|
*/
|
|
23
23
|
constructor(volume: number, conId: number, exchange: string, isMore: boolean, conjunctionConnection: ConjunctionConnection);
|
|
24
24
|
get strValue(): string;
|
|
@@ -7,13 +7,13 @@ const order_condition_type_1 = require("../enum/order-condition-type");
|
|
|
7
7
|
*/
|
|
8
8
|
class VolumeCondition {
|
|
9
9
|
/**
|
|
10
|
-
* Create a [[
|
|
10
|
+
* Create a [[VolumeCondition]] object.
|
|
11
11
|
*
|
|
12
|
-
* @param
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
15
|
-
* @param
|
|
16
|
-
* @param conjunctionConnection
|
|
12
|
+
* @param conId Whenever contract...
|
|
13
|
+
* @param exchange When traded at
|
|
14
|
+
* @param isMore reaches a volume higher/lower
|
|
15
|
+
* @param volume than this...
|
|
16
|
+
* @param conjunctionConnection AND | OR next condition (will be ignored if no more conditions are added)
|
|
17
17
|
*/
|
|
18
18
|
constructor(volume, conId, exchange, isMore, conjunctionConnection) {
|
|
19
19
|
this.volume = volume;
|
|
@@ -202,47 +202,47 @@ export declare class IBApiNext {
|
|
|
202
202
|
/**
|
|
203
203
|
* Response to API updateAccountValue control message.
|
|
204
204
|
*
|
|
205
|
-
* @param subscriptions
|
|
206
|
-
* @param account
|
|
207
|
-
* @param tag
|
|
208
|
-
* @param value
|
|
209
|
-
* @param currency
|
|
205
|
+
* @param subscriptions listeners
|
|
206
|
+
* @param account The IBKR account Id.
|
|
207
|
+
* @param tag the tag of the value.
|
|
208
|
+
* @param value numetical value associated to the tag.
|
|
209
|
+
* @param currency the currency of the value.
|
|
210
210
|
*
|
|
211
|
-
* @see [[
|
|
211
|
+
* @see [[reqAccountUpdates]]
|
|
212
212
|
*/
|
|
213
213
|
private readonly onUpdateAccountValue;
|
|
214
214
|
/**
|
|
215
215
|
* Response to API updatePortfolio control message.
|
|
216
216
|
*
|
|
217
|
-
* @param subscriptions
|
|
218
|
-
* @param contract
|
|
219
|
-
* @param pos
|
|
220
|
-
* @param marketPrice
|
|
221
|
-
* @param marketValue
|
|
222
|
-
* @param avgCost
|
|
223
|
-
* @param unrealizedPNL
|
|
224
|
-
* @param realizedPNL
|
|
225
|
-
* @param account
|
|
217
|
+
* @param subscriptions listeners
|
|
218
|
+
* @param contract The position's [[Contract]]
|
|
219
|
+
* @param pos The number of units held.
|
|
220
|
+
* @param marketPrice the market price of the contract.
|
|
221
|
+
* @param marketValue the market value of the position.
|
|
222
|
+
* @param avgCost The average cost of the position.
|
|
223
|
+
* @param unrealizedPNL The unrealized PNL of the position.
|
|
224
|
+
* @param realizedPNL The realized PNL of the position.
|
|
225
|
+
* @param account The IBKR account Id.
|
|
226
226
|
*
|
|
227
|
-
* @see [[
|
|
227
|
+
* @see [[reqAccountUpdates]]
|
|
228
228
|
*/
|
|
229
229
|
private readonly onUpdatePortfolio;
|
|
230
230
|
/**
|
|
231
231
|
* Response to API updateAccountTime control message.
|
|
232
232
|
*
|
|
233
|
-
* @param subscriptions
|
|
234
|
-
* @param timeStamp
|
|
233
|
+
* @param subscriptions listeners
|
|
234
|
+
* @param timeStamp the current timestamp
|
|
235
235
|
*
|
|
236
|
-
* @see [[
|
|
236
|
+
* @see [[reqAccountUpdates]]
|
|
237
237
|
*/
|
|
238
238
|
private readonly onUpdateAccountTime;
|
|
239
239
|
/**
|
|
240
240
|
* Response to API accountDownloadEnd control message.
|
|
241
241
|
*
|
|
242
|
-
* @param subscriptions
|
|
243
|
-
* @param accountName
|
|
242
|
+
* @param subscriptions listeners
|
|
243
|
+
* @param accountName the account name
|
|
244
244
|
*
|
|
245
|
-
* @see [[
|
|
245
|
+
* @see [[reqAccountUpdates]]
|
|
246
246
|
*/
|
|
247
247
|
private readonly onAccountDownloadEnd;
|
|
248
248
|
/**
|
|
@@ -303,7 +303,7 @@ export declare class IBApiNext {
|
|
|
303
303
|
* @param account Account for which to receive PnL updates.
|
|
304
304
|
* @param modelCode Specify to request PnL updates for a specific model.
|
|
305
305
|
*/
|
|
306
|
-
getPnL(account: string,
|
|
306
|
+
getPnL(account: string, modelCode?: string): Observable<PnL>;
|
|
307
307
|
/** pnlSingle event handler. */
|
|
308
308
|
private readonly onPnLSingle;
|
|
309
309
|
/**
|
|
@@ -602,27 +602,27 @@ export declare class IBApiNext {
|
|
|
602
602
|
/**
|
|
603
603
|
* Feeds in currently open orders.
|
|
604
604
|
*
|
|
605
|
-
* @param subscriptions
|
|
606
|
-
* @param orderId
|
|
607
|
-
* @param contract
|
|
608
|
-
* @param order
|
|
609
|
-
* @param orderState
|
|
605
|
+
* @param subscriptions listeners
|
|
606
|
+
* @param orderId The order's unique id.
|
|
607
|
+
* @param contract The order's [[Contract]]
|
|
608
|
+
* @param order The currently active [[Order]]
|
|
609
|
+
* @param orderState The order's [[OrderState]]
|
|
610
610
|
*
|
|
611
611
|
* @see [[placeOrder]], [[reqAllOpenOrders]], [[reqAutoOpenOrders]]
|
|
612
612
|
*/
|
|
613
613
|
private readonly onOpenOrder;
|
|
614
614
|
/**
|
|
615
615
|
* Ends the subscription once all openOrders are recieved
|
|
616
|
-
* @param subscriptions
|
|
616
|
+
* @param subscriptions listeners
|
|
617
617
|
*/
|
|
618
618
|
private readonly onOpenOrderComplete;
|
|
619
619
|
/**
|
|
620
620
|
* Response to API bind order control message.
|
|
621
621
|
*
|
|
622
|
-
* @param subscriptions
|
|
623
|
-
* @param orderId
|
|
624
|
-
* @param apiClientId
|
|
625
|
-
* @param apiOrderId
|
|
622
|
+
* @param subscriptions listeners
|
|
623
|
+
* @param orderId permId (mistake from IB documentation, value is orderId not permId)
|
|
624
|
+
* @param apiClientId API client id.
|
|
625
|
+
* @param apiOrderId API order id.
|
|
626
626
|
*
|
|
627
627
|
* @see [[reqOpenOrders]]
|
|
628
628
|
*/
|
|
@@ -630,24 +630,24 @@ export declare class IBApiNext {
|
|
|
630
630
|
/**
|
|
631
631
|
* Response to API status order control message.
|
|
632
632
|
*
|
|
633
|
-
* @param orderId
|
|
634
|
-
* @param status
|
|
635
|
-
* @param filled
|
|
636
|
-
* @param remaining
|
|
637
|
-
* @param avgFillPrice
|
|
638
|
-
* @param permId
|
|
639
|
-
* @param parentId
|
|
640
|
-
* @param lastFillPrice
|
|
641
|
-
* @param clientId
|
|
642
|
-
* @param whyHeld
|
|
643
|
-
* @param mktCapPrice
|
|
633
|
+
* @param orderId the order's client id.
|
|
634
|
+
* @param status the current status of the order. Possible values: PendingSubmit - indicates that you have transmitted the order, but have not yet received confirmation that it has been accepted by the order destination. PendingCancel - indicates that you have sent a request to cancel the order but have not yet received cancel confirmation from the order destination. At this point, your order is not confirmed canceled. It is not guaranteed that the cancellation will be successful. PreSubmitted - indicates that a simulated order type has been accepted by the IB system and that this order has yet to be elected. The order is held in the IB system until the election criteria are met. At that time the order is transmitted to the order destination as specified . Submitted - indicates that your order has been accepted by the system. ApiCancelled - after an order has been submitted and before it has been acknowledged, an API client client can request its cancelation, producing this state. Cancelled - indicates that the balance of your order has been confirmed canceled by the IB system. This could occur unexpectedly when IB or the destination has rejected your order. Filled - indicates that the order has been completely filled. Market orders executions will not always trigger a Filled status. Inactive - indicates that the order was received by the system but is no longer active because it was rejected or canceled.
|
|
635
|
+
* @param filled number of filled positions.
|
|
636
|
+
* @param remaining the remnant positions.
|
|
637
|
+
* @param avgFillPrice average filling price.
|
|
638
|
+
* @param permId the order's permId used by the TWS to identify orders.
|
|
639
|
+
* @param parentId parent's id. Used for bracket and auto trailing stop orders.
|
|
640
|
+
* @param lastFillPrice price at which the last positions were filled.
|
|
641
|
+
* @param clientId API client which submitted the order.
|
|
642
|
+
* @param whyHeld this field is used to identify an order held when TWS is trying to locate shares for a short sell. The value used to indicate this is 'locate'.
|
|
643
|
+
* @param mktCapPrice If an order has been capped, this indicates the current capped price. Requires TWS 967+ and API v973.04+. Python API specifically requires API v973.06+.
|
|
644
644
|
*
|
|
645
645
|
* @see [[reqOpenOrders]]
|
|
646
646
|
*/
|
|
647
647
|
private readonly onOrderStatus;
|
|
648
648
|
/**
|
|
649
649
|
* Ends the subscription once all openOrders are recieved
|
|
650
|
-
* @param subscriptions
|
|
650
|
+
* @param subscriptions listeners
|
|
651
651
|
*/
|
|
652
652
|
private readonly onOpenOrderEnd;
|
|
653
653
|
/**
|
|
@@ -706,9 +706,10 @@ export declare class IBApiNext {
|
|
|
706
706
|
* Note: API clients cannot cancel individual orders placed by other clients.
|
|
707
707
|
* Use [[cancelAllOrders]] instead.
|
|
708
708
|
*
|
|
709
|
-
* @param
|
|
709
|
+
* @param orderId Specify which order should be cancelled by its identifier.
|
|
710
|
+
* @param manualOrderCancelTime Specify the time the order should be cancelled. An empty string will cancel the order immediately.
|
|
710
711
|
*/
|
|
711
|
-
cancelOrder(
|
|
712
|
+
cancelOrder(orderId: number, manualOrderCancelTime?: string): void;
|
|
712
713
|
/**
|
|
713
714
|
* Cancels all active orders.
|
|
714
715
|
* This method will cancel ALL open orders including those placed directly from TWS.
|