Skip to content

Commit

Permalink
Changed crypto used for test suite to BTC (ETH wan't working)
Browse files Browse the repository at this point in the history
  • Loading branch information
rylorin committed Nov 19, 2024
1 parent de2f0d1 commit 27a9a4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 168 deletions.
2 changes: 1 addition & 1 deletion src/tests/unit/api/order/cancelOrder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe("CancelOrder", () => {
let isDone = false;
ib.once(EventName.nextValidId, (orderId: number) => {
refId = orderId;
ib.placeOrder(refId, contract, order);
ib.placeOrder(refId, contract, { ...order, goodAfterTime: undefined });
})
.on(EventName.orderStatus, (orderId, status) => {
if (orderId === refId) {
Expand Down
166 changes: 0 additions & 166 deletions src/tests/unit/api/order/issue203.test.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/tests/unit/sample-data/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const sample_etf: Contract = new Stock("SPY");
export const sample_bond: Contract = new Bond("US064159KJ44");
export const sample_index: Contract = new Index("ES", "USD");
export const sample_dax_index: Contract = new Index("DAX", "EUR", "EUREX");
export const sample_crypto: Contract = new Crypto("ETH");
export const sample_crypto: Contract = new Crypto("BTC");

// This one will need to be updated sometimes
export const sample_future: Contract = new Future(
Expand Down

0 comments on commit 27a9a4b

Please sign in to comment.