forked from coinbase/coinbase-pro-trading-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cayle Sharrock
committed
Aug 29, 2017
1 parent
5379064
commit a975433
Showing
13 changed files
with
84 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
node_modules/ | ||
*.d.ts | ||
*.log | ||
*.tgz | ||
|
||
!index.d.ts | ||
!index.ref.d.ts | ||
!build/ | ||
!types/ | ||
docs/apiref | ||
|
||
src/ | ||
npm-shrinkwrap.json | ||
yarn.lock | ||
tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"name": "gdax-trading-toolkit", | ||
"version": "0.1.0", | ||
"version": "0.1.8", | ||
"description": "A trading toolkit for building advanced trading bots on the GDAX platform", | ||
"main": "build/src/index.js", | ||
"types": "build/src/index.d.ts", | ||
"scripts": { | ||
"lint": "tslint -c tslint.json -p . -t stylish", | ||
"pretest": "yarn run build", | ||
"build": "tsc -p .", | ||
"build": "tsc -d -p .", | ||
"coverage": "yarn run build && ./node_modules/.bin/nyc --reporter text-summary ./node_modules/.bin/mocha", | ||
"coverage:report": "./node_modules/.bin/nyc report --reporter text-summary --reporter html && open coverage/index.html", | ||
"test:mocha": "./node_modules/.bin/mocha", | ||
"test": "yarn run lint && yarn run test:mocha", | ||
"clean": "rm -fr build coverage .nyc_output", | ||
"postinstall": "yarn run build", | ||
"doc": "./node_modules/.bin/typedoc --options typedoc.json ." | ||
"doc": "./node_modules/.bin/typedoc --options typedoc.json .", | ||
"prepublishOnly": "yarn run build" | ||
}, | ||
"bin": { | ||
"gdaxConsole": "./build/src/console/gdaxConsole.js" | ||
"gdaxConsole": "./build/src/consoles/gdaxConsole.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -34,6 +34,19 @@ | |
"author": "Cayle Sharrock <[email protected]>", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@types/bignumber.js": "4.0.2", | ||
"@types/bintrees": "1.0.2", | ||
"@types/commander": "2.3.31", | ||
"@types/crypto-js": "3.1.32", | ||
"@types/mocha": "2.2.33", | ||
"@types/nock": "8.2.0", | ||
"@types/node": "6.0.51", | ||
"@types/query-string": "3.0.30", | ||
"@types/simple-mock": "0.0.27", | ||
"@types/superagent": "2.0.35", | ||
"@types/uuid": "2.0.29", | ||
"@types/winston": "2.2.0", | ||
"@types/ws": "0.0.37", | ||
"bignumber.js": "4.0.2", | ||
"bintrees": "1.0.1", | ||
"commander": "2.9.0", | ||
|
@@ -48,19 +61,6 @@ | |
"ws": "1.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/bignumber.js": "4.0.2", | ||
"@types/bintrees": "1.0.2", | ||
"@types/commander": "2.3.31", | ||
"@types/crypto-js": "3.1.32", | ||
"@types/mocha": "2.2.33", | ||
"@types/nock": "8.2.0", | ||
"@types/node": "6.0.51", | ||
"@types/query-string": "3.0.30", | ||
"@types/simple-mock": "0.0.27", | ||
"@types/superagent": "2.0.35", | ||
"@types/uuid": "2.0.29", | ||
"@types/winston": "2.2.0", | ||
"@types/ws": "0.0.37", | ||
"expect.js": "0.3.1", | ||
"mocha": "3.2.0", | ||
"nock": "9.0.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export * from './FXService'; | ||
export * from './FXRateCalculator'; | ||
export * from './FXProvider'; | ||
|
||
import * as CoinMarketCapProvider from './providers/CoinMarketCapProvider'; | ||
import * as OpenExchangeProvider from './providers/OpenExchangeProvider'; | ||
import * as YahooFXProvider from './providers/YahooFXProvider'; | ||
|
||
export const Providers = { | ||
CoinMarketCapProvider, | ||
OpenExchangeProvider, | ||
YahooFXProvider | ||
}; | ||
|
||
import SimpleRateCalculator from './calculators/SimpleRateCalculator'; | ||
|
||
export const Calculators = { | ||
SimpleRateCalculator | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export * from './ExchangeRateFilter'; | ||
export * from './HFTFilter'; | ||
export * from './LiveOrderbook'; | ||
export * from './MessageQueue'; | ||
export * from './Messages'; | ||
export * from './ProductFilter'; | ||
export * from './RateLimiter'; | ||
export * from './Trader'; | ||
export * from './Triggers'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export * from './ExchangeFeed'; | ||
export * from './bitfinex/BitfinexFeed'; | ||
export * from './gdax/GDAXFeed'; | ||
export * from './poloniex/PoloniexFeed'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export * from './AbstractMessageTransform'; | ||
export * from './BookBuilder'; | ||
export * from './Orderbook'; | ||
export * from './OrderbookDiff'; | ||
export * from './OrderbookUtils'; | ||
export * from './StaticCommandSet'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './Logger'; | ||
export * from './printers'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters