Commit Graph

158 Commits

Author SHA1 Message Date
Adam
7dd3f13c8d Exchange API modification monitor (#404)
* WIP

* Variable Name Changes and other PR Changes

* Name Changes and Error Checks

* WIP

* Some new functionality added and nits fixed

* WIP on Nits

* More trello functionality added and some PR changes

* Minor changes and linter fixes

* Errors Fixed and some PR Changes

* PR Changes

* WIP

* WIP

* Addition of Config

* WIP of Readme file

* Readme WIP

* Addition of ReadMe

* Linter Issues fixed

* Minor Errors fixed

* fixed test timeout issues and added api keys check for tests

* Errors fixed

* Nits WIP

* Nits fixed

* More efficient mutex usage

* Consts cleaned up

* Readme file fixed

* linter issues fixed

* format issues:

* readme updates and nits

* remove backup file and address nits

* backup file removed for real

* OkexOkcoin updates and linter fixes

* errors fixed

* Nits

* errors fixed

* formatting issues

* race conditions fixed

* files fixed

* go mod n go sum

* WIP adding rate limits

* Added rate limits

* Remove test vars

* go mod tidy

* improving readme file and 2digits for trello auto update

* Added space

* removed space

* addressing nits

* documentation update

* more nits

* board id check

* linter fixes

* test race fixed

* test file match

* errors fixed

* nitz

* LOWERCASE flags

* more nitz

* broken wip

* flag addition fixed

* error fixed

* documentation updated for adding exchange using flags

* something

* add comment

* nitz fixed

* pr changes

* added gemini exchange

* testfile saving changes

* nitz

* fixing done

* pr changes

* nits

* WIP

* minor error fix

* wip

* wip

* WIP

* pr changes

* pr changes

* pr changes

* nits

* nits fixed

* t.Fail removed

* nitz

* disable lakeBTC

* contributors fixed

contributors fixed

ALL THE NITZ

OMG

* OMGGG

ALL THE NITZ

OMG

* name change errors fixed

* linter issues fixed

* linterzz

* Added disabling feature for exchanges

* bug fix

* small feature added

* fixed

bug fix:

no keys

* nits

* test

* test2

* test 3

* linter fixed

* testing

* testing

* remove logs

* OMG

* bugfix

* cyam88888

* nits

* error handled

* minor nits

fixed createnewcheck issue

fixed createnewcheck issue

* functionality change

some functionality changes

no api keys 4u :D

* trello names thro config

* err check
2020-04-01 11:15:10 +11:00
Adrian Gallagher
b949388994 General engine improvements (#437)
* Add exchange manager to engine

* Several improvements for engine and friends

1) New file.Exists func
2) gRPC TLS cert expiration date check and regeneration
3) New donation var for use across the codebase
4) Use Go log package until the logger is initialised

* Add cert tests and create dir tree if it doesn't exist for file.Write

* Link up donation address to documentation tool plus minor adjustments

* Fix remaining donation addrs

* Move non-needed reload exchange funcs

* Revert accidental config_example.json changes 🕯️

* Use go logger for logging until the logger has initiliased, otherwise no output will be seen

* Link up portfolio delay val and other fixes

* Run go mod tidy after dependabot PR

* Address nitterinos
2020-02-06 12:32:01 +11:00
Ryan O'Hara-Reid
24bddcc090 Add directories to exclusion list && change default repo string (#387)
* Add directories to exclusion list && change default repo string

* Add in .idea folder to directory exclusion list

* cleaned

* Added support for calling the tool outside of its file

* fix formatting

* changed strings
2019-11-29 11:14:19 +11:00
Adrian Gallagher
63191ce3ec Engine QA (#381)
* 1) Update Dockerfile/docker-compose.yml
2) Remove inline strings for buy/sell/test pairs
3) Remove dangerous order submission values
4) Fix consistency with audit_events (all other spec files use
CamelCase)
5) Update web websocket endpoint
6) Fix main param set (and induce dryrun mode on specific command line
params)

* Engine QA

Link up exchange syncer to cmd params, disarm market selling bombs and fix OKEX endpoints

* Fix linter issue after merge

* Engine QA changes

Template updates
Wrapper code cleanup
Disarmed order bombs
Documentation updates

* Daily engine QA

Bitstamp improvements
Spelling mistakes
Add Coinbene exchange to support list
Protect API authenticated calls for Coinbene/LBank

* Engine QA changes

Fix exchange_wrapper_coverage tool
Add SupportsAsset to exchange interface
Fix inline string usage and add BCH withdrawal support

* Engine QA

Fix Bitstamp types
Inform user of errors when parsing time accross the codebase
Change time parsing warnings to errors (as they are)
Update markdown docs [with linter fixes]

* Engine QA changes

1) Add test for dryrunParamInteraction
2) Disarm OKCoin/OKEX bombs if someone accidently sets canManipulateRealOrders to true and runs all package tests
3) Actually check exchange setup errors for BTSE and Coinbene, plus address this in the wrapper template
4) Hardcode missing/non-retrievable contributors and bump the contributors
5) Convert numbers/strings to meaningful types in Bitstamp and OKEX
6) If WS is supported for the exchange wrapper template, preset authWebsocketSupport var

* Fix the shadow people

* Link the SyncContinuously paramerino

* Also show SyncContinuously in engine.PrintSettings

* Address nitterinos and use correct filepath for logs

* Bitstamp: Extract ALL THE APM

* Fix additional nitterinos

* Fix time parsing error for Bittrex
2019-11-22 16:07:30 +11:00
Adrian Gallagher
132d2d03c2 Merge branch 'master' into engine 2019-09-24 17:05:58 +10:00
Adrian Gallagher
bbdf532b16 Update Slack shared invite link 2019-09-24 17:01:32 +10:00
Adrian Gallagher
8ecd8a0c16 Merge branch 'master' into engine 2019-08-09 15:46:24 +10:00
Adrian Gallagher
2078ba907f Update URLs for transfer into org repo (#338)
* Update URLs for transfer into org repo

* Update codecov, travis and othe remaining links

* Update appveyor paths
2019-08-09 11:50:39 +10:00
Adrian Gallagher
f5914e8c10 Engine changes 2019-05-22 17:06:38 +10:00
Adrian Gallagher
928a332220 Use official Slack join link instead of herokuapp 2019-02-12 13:45:43 +11:00
Dan Bent
2993ae17cf Fix code style link in readme to point to contributing doc (#223)
* Fix code style link in readme to point to contributing doc

* Update documentation tool template files and regenerated documentation
2018-12-20 10:54:00 +11:00
Scott
d039593b67 Update readme to direct development to React branch 2018-11-27 08:29:04 +11:00
Scott Grant
b11c52ca07 Updates Angular to v7 and updates components to support better formatted config syntax 2018-11-12 16:57:52 +11:00
Scott Grant
2d334a9faf Fixes security issues
Signed-off-by: Scott Grant <scott.grant@thrasher.io>
2018-10-02 16:03:29 +10:00
Ryan O'Hara-Reid
9918896923 Fixed unreachable code 2018-08-17 10:41:04 +10:00
GloriousCode
a03e85ebfd Removes commented out imports in polyfills.ts
Keeps structure for future potential use
2018-08-16 18:35:17 +10:00
GloriousCode
6c0ad602da Lint fixes 2018-08-16 17:32:25 +10:00
GloriousCode
bdcf87ab03 0 vulnerabilities 2018-08-16 08:58:14 +10:00
GloriousCode
d80b2c96b2 npm audit run
Removes npx
2018-08-16 08:44:32 +10:00
GloriousCode
0a20061cc2 more fixes 2018-08-16 07:53:19 +10:00
GloriousCode
f7bc2433dd Fixes build issues. Removes warnings. 2018-08-16 07:16:40 +10:00
GloriousCode
625d5f47f7 Adds SVG images of logo 2018-08-10 17:25:36 +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
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
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
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
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
GloriousCode
443d378f92 Removes help 2018-06-06 08:16:02 +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
Adrian Gallagher
729b9a68f7 Update npm deps 2018-05-29 18:05:51 +10:00
Ryan O'Hara-Reid
dc11f87b8b Updated README template files and regenerated documentation. (#125) 2018-05-14 10:03:17 +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
GloriousCode
8bcfbc33c1 Logo now much cleaner 2018-04-05 17:10:51 +10:00
Scott
b8e4f497a3 Visual changes (#108)
* Basic dynamically added buy-sell component

* Adds a basic component to display ticker info on the top right of the
GUI

* Dashboard with actual components

* Adds AM charts

* More fake component data
Better handling of dashboard blocks

* Attempting to make the dashboard scalable

* Fixes dashboard sizing
Adjusts dashboard widget margins

* Gets a chart!

* Buy sell updates

* Sprucing the buy sell components

Updates material

Fix up git Pr issues
2018-03-26 12:57:05 +11:00
Matthäus Mayer
7b4f9064c8 Introduce docker for web app 2018-03-02 09:01:34 +01:00
Ryan O'Hara-Reid
9514754960 New documents generated by documentation tool. 2018-02-28 09:55:11 +11:00
Ryan O'Hara-Reid
dd00eba27e Applied fix to documentation.go for contribution HTML_URL.
Added period to documentation templates sentences.
Added logic to documentation.go to fix broken links for godoc in sub-packages.
Fix coding style to conform to golang idiomatic practice.
Applied fix to access main godocs in tools and test data.
Generated new documents using tools.
2018-02-20 11:56:25 +11:00
Ryan O'Hara-Reid
6cb17bb97e Added new base documentation using documentation tool 2018-02-20 10:43:59 +11:00
gloriousCode
d41c5c358c Actually removes references to external fonts (no more google tracking) 2018-02-17 18:01:36 +11:00
gloriousCode
2123245299 New themes (Aussie Aussie Aussie!)
Localises fonts
SCSS improvements
2018-02-17 17:56:22 +11:00
GloriousCode
039dd2e849 Updates electron, angular, webpack versions 2018-01-30 22:50:30 +11:00
Adrian Gallagher
5672d56997 Update README.md files 2018-01-09 15:42:17 +11:00
gloriousCode
301257427e Fixes handlebars vulnerability 2018-01-02 21:35:14 +11:00
Michael Kurrels
bfe62062e7 changes command to run application
the readme was wrong when it said to run npm run web:start. It should be npm run start:web.
2017-12-31 20:07:25 -08:00
Yang Li
05363578f7 fix typo 2017-12-19 18:13:13 +08:00
GloriousCode
b5c8093ac8 Version increase :) 2017-12-14 17:24:38 +11:00
GloriousCode
cf9425a0d7 Dumb fleshout of currency listing and buy sell component 2017-12-14 17:14:43 +11:00
GloriousCode
92e8ff790b Adds selected currency to the navbar 2017-12-07 21:18:34 +11:00