Commit Graph

771 Commits

Author SHA1 Message Date
Adrian Gallagher
1e68b48547 Remove non-needed testconfig.json file 2018-08-03 13:54:48 +10:00
Ryan O'Hara-Reid
3b8591bcc8 Updated documentation tool (#155)
* Updated documentation tool
Added templates
Updated documentation using tool

* Fixed incorrect version in web README

* Added new templates to tool.
Updated documents in templates across the code base.
Used tool to regenerate documentation.
2018-07-19 16:02:24 +10:00
Zhiyi Weng
aaf9f52a70 APISecret should only be used to sign the request. (#157) 2018-07-18 20:57:17 +10:00
GloriousCode
322b67e5c8 Fixes theme picker reference error after changes in https://github.com/thrasher-/gocryptotrader/pull/154 2018-07-18 16:55:17 +10:00
Marco Franssen
0f209165d5 Improved code quality (#154)
* Removed package-lock.json form gitignore as it ensures specific package versions

* Updated all @angular web dependencies

* Resolved tslint errors using autofix option

* Resolved some more tslint issues

* Added lint scripts to package.json to easy lint the ts files

* Updated codelyzer and tslint

* Run web on travis using node 10 and run the lint task

* Resolved some more tslint issues after upgrading tslint and codelyzer

* Resolved golint issues with regards to exchange comments

* Resolved spelling errors shown by goreportcard.com

* Resolved gofmt warnings using goreportcard.com

* Resolved golint issue by removing unrequired else statement

* Refactored slack.go to reduce cyclomatic complexity

* Fixed govet issue where Slack was passed as value instead of reference
2018-07-18 15:46:47 +10:00
Adrian Gallagher
a5f51328d4 Improve request package and adjust bitfinex rate limiter
Fixes: https://github.com/thrasher-/gocryptotrader/issues/147
2018-07-17 16:24:41 +10:00
Adrian Gallagher
950d66e394 Bump Travis golang version 2018-07-17 16:10:29 +10:00
Adrian Gallagher
f6a522cf91 Update exchange wrapper template file 2018-07-16 14:15:24 +10:00
Ermal Guni
42ea6ba598 Binance websocket (#143)
* optimize dockerfile to not invalidate layers

* added binance websocket

* added binance websocket types

* loading exchanges from the codebase

* Setting Binance websocket to Yes

* revert import naming

* binance websocket was missing

* added gorilla websocket
2018-07-16 10:03:11 +10:00
Adrian Gallagher
4fadc6ff48 Adds support for new Huobi authorised requests and a tool for ecdsa keys
Fixes: https://github.com/thrasher-/gocryptotrader/issues/150
2018-07-13 15:54:31 +10:00
Adrian Gallagher
e5b3ce8de8 Use WebsocketEvent in ws client and add timestamp to Tickers
Fixes https://github.com/thrasher-/gocryptotrader/issues/137
2018-07-13 11:20:29 +10:00
Adrian Gallagher
69acf88a7b Fix race condition in request 2018-07-13 11:19:11 +10:00
Adrian Gallagher
b062fd2907 Bithumb replace deprecated API to new one 2018-07-12 12:50:46 +10:00
Adrian Gallagher
4f8e74f6dc Improve Bithumb API error handling 2018-07-12 12:25:43 +10:00
Ryan O'Hara-Reid
ed675bde30 Add bank details support 2018-07-12 12:25:07 +10:00
Adrian Gallagher
48fbe78aa6 Update README.md 2018-07-11 10:51:19 +10:00
Adrian Gallagher
7a9f05c8fe Skip BTCC tests as REST API is not available after infrastructure update 2018-07-11 10:45:22 +10:00
Adrian Gallagher
42d458d5ea Rename GDAX -> CoinbasePro 2018-07-11 10:42:37 +10:00
Marco Franssen
7cacca1115 Hotfix/web dependencies (#149)
* Updated web/package.json and web/package-lock.json caused by 'npm i'

* Resolved some vulnerabilities using 'npm audit fix'

* Updated web dependency dotenv from 5.0.1 to 6.0.0

* Updated web dotenv package from 5.1.4 to 5.2.0

* Updated package core-js from 2.5.5 to 2.5.7

* Updated @angular/* dependencies from 6.0.4 to 6.0.7

* Added missing web test plugins karma-jasmine and krama-jasmine-html-reporter

* Updated web rxjs* dependencies from 6.2.0 to 6.2.1

* Updated web package version to use the ^x.x.x notation for easier version management using npm

* Updated web @amcharts/amcharts3-angular from 2.1.0 to 2.1.1

* Updated web electron-reload from 1.2.2 to 1.2.5

* Updated web karma to 2.0.4 and karma-coverage-istanbul-reporter to 1.4.3

* Updated rxjs-tslint from 0.1.4 to 0.1.5

* Updated web electron from 1.8.4 to 1.8.7

* Updated web npm-run-all from 4.1.2 to 4.1.3

* Updated web @types/jasmine @types/node @types/core-js packages to latest patch releases
2018-07-11 09:50:09 +10:00
Marco Franssen
f920298d1a Fixed some typos in binance types and updated binance trading symbols in config example (#148)
* Added marcofranssen to contributors

* Added missing doc for binance type Response

* Fixed some typos in binance_types and aligned the doc blocks

* Updated binance trading pairs in config_example.json

* Enable all USDT trading pairs in example config for binance exchange
2018-07-10 11:48:31 +10:00
Marco Franssen
dd757a738e Added golang gitignore lines to prevent committing build outputs (#146) 2018-07-09 13:02:45 +10:00
Ryan O'Hara-Reid
0a8d8454b5 Fixed issues with liqui GetTicker function. Added tests. Increased Unauth request limit. (#144) 2018-06-27 14:30:22 +10:00
ia
799cb59b3d all: gofmt (#141)
Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64
2018-06-18 15:39:20 +10:00
Adrian Gallagher
9b2ac9a6dc Bump last checked available currencies timestamp and expand automatic updating of available currencies for various exchanges 2018-06-15 15:56:01 +10:00
Scott
44810abb4a Merge pull request #138 from lookfirst/patch-1
fix typo in package.json
2018-06-14 07:49:00 +10:00
Jon Stevens
2956c6c6e3 fix typo in package.json
warning gocryptotrader-web@0.4.0: Potential typo "contributers", did you mean "contributors"?
2018-06-13 17:52:55 +07:00
Ermal Guni
e68b7d7e0e bitstamp support for all enabled pairs in the config (#136) 2018-06-12 08:25:23 +10:00
Ermal Guni
f100872340 bitfinex websocket trade fix (#133)
* bitfinex trades websocket fix
2018-06-11 16:30:10 +10:00
Scott
5c28e97c2a Angular 6 migration (#132)
* Successfully migrates

* updates environment and package command
2018-06-11 16:18:58 +10:00
Scott
0dac26c6da Supports updated JSON config (#134) 2018-06-11 16:16:54 +10:00
Ryan O'Hara-Reid
12ea1781fd Merge pull request #135 from shazbert/binance_fix
Fixed bug in Binance GetOrderbook.
2018-06-11 12:01:07 +10:00
Ryan O'Hara-Reid
bf885cddc0 Fixed bug in Binance GetOrderbook. 2018-06-11 11:49:40 +10:00
Ryan O'Hara-Reid
9d0616d8cf New communications package
Support for Slack, SMSGlobal, SMTP and Telegram

Supersedes: https://github.com/thrasher-/gocryptotrader/pull/126
2018-06-08 14:09:36 +10:00
Adrian Gallagher
d34fc9aae8 Report error to websocket client if they do an unauthorised request 2018-06-07 15:24:17 +10:00
Ryan O'Hara-Reid
58051b89c7 New package provider for foreign exchange rates.
Fixes issue: https://github.com/thrasher-/gocryptotrader/issues/131
Supersedes: https://github.com/thrasher-/gocryptotrader/pull/123
2018-06-06 21:05:17 +10:00
GloriousCode
443d378f92 Removes help 2018-06-06 08:16:02 +10:00
Adrian Gallagher
55df05f29f Fix config race 2018-06-04 19:28:22 +10:00
Scott
a23c145ccc Wallet management/Settings improvements (#130)
* New Branch
Splits settings out into their own areas for performance reasons

* Formatting

* Adds cutout logo for navbar

* Better settings loading screen
Better cache handling

* Adds snackbar support
Adds error websocketmessage support

* pushing from one pc to another

* Rejoins settings after failure to be able to seperate them without big rewrites

* Wallet manipulation in settings

* Reformats wallet page
Updates menu to be 'wallets'

* Lists enabled exchanges in settings before you click for modal

* Fixes currency list issue

* Fixes object reference bug in exchange-grid.component.html

* password text
2018-06-04 19:20:59 +10:00
Frank
0478c55b45 fix huobib/binance api bug (#129) 2018-06-04 19:20:05 +10:00
Adrian Gallagher
4903c788b1 Use key derivitive function for encryption/decryption of config data
Fixes https://github.com/thrasher-/gocryptotrader/issues/115
2018-06-04 18:43:13 +10:00
Adrian Gallagher
e80aaf1448 Allow for unauthenticated/authenticated websocket command handling 2018-05-31 15:08:49 +10:00
Adrian Gallagher
d3edd2845f Reorganise portfolio and prevent saving nil portfolio if not seeded 2018-05-31 14:07:23 +10:00
Ryan O'Hara-Reid
02dbab03ce Added new initial functions for bot/exchange interface. (#120) 2018-05-30 13:49:58 +10:00
Adrian Gallagher
729b9a68f7 Update npm deps 2018-05-29 18:05:51 +10:00
Adrian Gallagher
7b60bdd59f Prevent concurrent write for websocket data stream
Ref: https://github.com/thrasher-/gocryptotrader/issues/119
2018-05-29 16:27:03 +10:00
Ryan O'Hara-Reid
dc11f87b8b Updated README template files and regenerated documentation. (#125) 2018-05-14 10:03:17 +10:00
Adrian Gallagher
cbc531ca2c Fix donate logo in README.md 2018-05-10 20:59:47 +10:00
Adrian Gallagher
981b600f91 Fix bug in UpdateConfig
Fixes https://github.com/thrasher-/gocryptotrader/issues/124
2018-05-09 22:11:16 +10:00
Scott
d882c1dff4 Reorganisation + Electron fixes (#118)
* Updates package versions

* Updating versions with RCs

* Updated landing page with stock images

* Begins refactoring of websocket
Adds Help component

* Dark theme for charts

* event Event

* Adds cryptocurrency font
Updates wallet to use it

* Rejigs the location of assets

* rxjs update
wallet font correction

* renaming websocket service

* Refactors websocket use
Destroys and subscribes appropriately
Also handles when websocket is not available with intervals

* Fixes issues with electron by rebasing with Maxime GRIS electron builder

* License change

* Readme update

* Parses available and enabled currencies to create an object {Name:X, Enabled:Y}

* Adds methods to convert from string arrays to objects with enabled status for all currencies

* Uses a localstorage cache for config for 15 minutes

* Moves handling of settings to config object

* Fix typescripting

* Fixes issue with saving and loading

* Slows websocket repeats
Adds cool new dictionary style item and iterable.
Updatres currency-list.component to list all enabled currencies and exchanges (still doesn't do anything)

* Updates selected-currency.component to display all currencies ticker updates if there is no selected currency
Will display only selected currency results once it is set
Sets a new property to ensure all currency names are consistent for currency list plans

* Fixes issue where only one component could listen to the websocket at once
Allows you to select a currency in exchange grid mode

* Adds selected currency support to buy & sell components
Updates selected currency ticker to update on change faster

* Adds Online status indicator

* Removal of console.logs for working features

* Allows currency-list.component to aggregate on currency and list exchanges that match it

* Highlights selected currency in currency-list.component
Allows you to select a currency
2018-05-04 15:07:11 +10:00
Adrian Gallagher
1a473fb59c GDAX: Remove unused variable and adjust gdax unauth rate limiter value 2018-05-04 14:27:05 +10:00