Commit Graph

791 Commits

Author SHA1 Message Date
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
Adrian Gallagher
a7ed69c843 Merge pull request #173 from marcofranssen/hotfix/lowercase-missed-configs
Hotfix/lowercase missed configs
2018-08-13 12:04:31 +10:00
Marco Franssen
18489f7a30 Added test for config/all json response 2018-08-10 16:05:20 +02:00
Marco Franssen
15d9a9fb88 Added missing type for exchangeName parameter 2018-08-10 16:05:20 +02:00
Marco Franssen
cbbad60e78 Lowercased the remaining config values for the config/all endpoint 2018-08-10 16:05:20 +02:00
GloriousCode
625d5f47f7 Adds SVG images of logo 2018-08-10 17:25:36 +10:00
Ryan O'Hara-Reid
06a0caec43 Bitmex exchange (#160)
* Added REST support for Bitmex

* Added Bitmex documentation updates

* Update config_example.json

* Added final REST functions for user account operations.

* Added initial websocket support

* Change function access
Added reconnection logic

* Added initial routine management
Updated wrapper functions

* General fixes
2018-08-09 16:31:29 +10:00
Adrian Gallagher
a0de1b78a7 Support configurable HTTP user agent per exchange 2018-08-07 13:05:13 +10:00
soxipy
efc6c8d31e Kraken rework + localbitcoins fixes (#170)
* OpenPosition

* AddOrder

* strict json schema

* localbitcoins DashBoard

* specific txid for OpenPositions

* catch exchange (not http) errors

* exchange errors: more informative

* proper API error handling

* strict AddOrder params/options encoding/validating

* TradeVolume and CancelOrder

* QueryLedgers

* GetLedgers

* GetTradesHistory

* QueryTrades

* GetClosedOrders

* GetClosedOrders: strict params

* QueryOrdersInfo

* UserRef is int32 according to doc

* CancelOrder

* GetOpenOrders

* GetTradeBalance

* GetBalance

* GetAssetPairs

* GetAsset

* GetServerTime

* no need for GeneralResponse

* TestGetServerTime fix
2018-08-06 21:38:41 +10:00
Ryan O'Hara-Reid
391e81b00e Updated docs (#171) 2018-08-06 21:33:57 +10:00
Marco Franssen
6c2f6df875 Lowercase json to be more compliant with javascript coding standards (#163) 2018-08-06 21:33:25 +10:00
Adrian Gallagher
c63f1b0ff6 Port from idoall's codebase (#161)
* 修复火币Post REST API方法不正确的问题,同时增加火币海带丝交易所

* add vendor folder

* 修改命名空间依赖

* 第一次提交分支

* 增加取消订单功能

* 修复binance.GetAccount方法

* 更新readme.md

* 增加 Gateio 交易所的支持,支持获取K线、支持的交易对、交易市场参数

* 替换HuobiHadax的参数

* 买/卖订单、取消订单

* OKEX 币币交易:增加获取用户信息,下订单,取消订单

* 测试ok kline

* 修复 Bitfinex 的 GetAccountInfo 方法

* 做一些不必要的删减

* 修复binfinex不返回错误的bug

* 统一我修改交易所的Kline获取方式

* Bitfinex 增加获取最新价格

* update main.go

* 更新GetSymbol方法

* 修改火币和海带丝的Kline编号ID类型

* 修改海带丝的默认配置大小写

* okex增加获取最新价格

*   调整okex的参数判断

* 调整比特儿的参数名称

* 修改火币、火币Hadax的参数全名

* 更新海带丝的配置名称

* 修改bintfinex的GetAccountInfo方法

* 去掉一行注释

* 支持zb交易所的部分功能

* 修复获取K线时没有设置参数的错误

* 增加 Binance 取消订单的方法,获取订单状态,获取所有打开的状态以及所有订单

* 修改获取深度和历史订单的数据

* 修改币安获取深度的参数

* 修改火币获取市场深度的参数

* 修改okex获取市场深度的参数

* 修改币安、OKex获取历史订单的参数

* 修复币安提交参数错误的问题

* merge upstrem

* merge后,调整一部分命名空间

* 修改ZB时间参数的命名方式

* 继续替换命名空间

* 命名空间的替换

* 继续命名空间的替换

* 测试

* Port code from idoall's PR

* Drop errors dep

* Start amending PR

* Fix commented code
* Translate text from Chinese to English (except for ZB). The reasning behind this is that it's a Chinese exchange and the structs are self explanatory in English, but would for other developers in China

* Translate Chinese text, basic formatting changes

* Remove commented lines and address feedback on PR
2018-08-04 08:30:20 +10:00
Ryan O'Hara-Reid
ecac1e124c Fixed issue with okex (#164) 2018-08-03 16:10:47 +10:00
Ermal Guni
e3c98b9078 maintain dockerfile layering and fix docker-compose build (#165) 2018-08-03 16:08:38 +10:00
Adrian Gallagher
6b575dd925 Fixes Docker build
https://github.com/thrasher-/gocryptotrader/issues/162

Also enabled webserver so that communication can happen between the docker web and cli containers
2018-08-03 15:36:34 +10:00
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