creslin
1756a317a0
Merge e9a4b4c8f9
into 075a42d615
2018-07-30 16:30:17 +00:00
creslinux
e9a4b4c8f9
Merge remote-tracking branch 'origin/gdax_enabled' into gdax_enabled
2018-07-30 16:30:12 +00:00
creslinux
ae64b1d95d
Added tests for precision on
...
- price ( 4 places round up)
- amount ( 4 places round down)
2018-07-30 16:23:49 +00:00
Matthias
075a42d615
Merge pull request #1095 from freqtrade/pyup-scheduled-update-2018-07-30
...
Scheduled daily dependency update on monday
2018-07-30 14:53:24 +02:00
pyup-bot
3ecc502d86
Update ccxt from 1.17.45 to 1.17.49
2018-07-30 14:24:06 +02:00
creslin
0682f142d2
Update __init__.py
...
Moved to pow(10, on recommendation from core team
Removed excessive boiler plating for simple function
Tested on sandbox with print output and in scratch
conn is HTTPSConnectionPool(host='api-public.sandbox.gdax.com', port=443)
conn is HTTPSConnectionPool(host='api-public.sandbox.gdax.com', port=443)
be_amount 0.00610615427076642
sym prec is 8
af_amount 0.00610615
b4_price 8188.46
sym prec is 2
af_price 8188.46
2018-07-30 10:27:19 +00:00
creslinux
6314639c4c
Moved to pow(10, on recommendation from core team
...
Removed excessive boiler plating for simple function
Tested on sandbox with print output and in scratch
conn is HTTPSConnectionPool(host='api-public.sandbox.gdax.com', port=443)
conn is HTTPSConnectionPool(host='api-public.sandbox.gdax.com', port=443)
be_amount 0.00610615427076642
sym prec is 8
af_amount 0.00610615
b4_price 8188.46
sym prec is 2
af_price 8188.46
2018-07-30 10:25:46 +00:00
Matthias
336cd524a3
Merge pull request #1094 from freqtrade/pyup-scheduled-update-2018-07-29
...
Scheduled daily dependency update on sunday
2018-07-29 19:02:17 +02:00
Janne Sinivirta
f832edf5bc
remove useless docstrings from tests
2018-07-29 17:09:44 +03:00
creslin
05463e3d91
Update __init__.py
2018-07-29 13:58:16 +00:00
creslin
ce74a5b97e
Update __init__.py
...
Also setting price "rate" to a precision CCXT informs us the exchange/pair accepts
Moved from round() to math floor and ceil to explicitly round_down on amount and up on price.
2018-07-29 13:34:57 +00:00
creslinux
28159f2fca
Added price "rate" to be trimmed to the precision the exchange supports
...
Also moved from round() to math.floor / ceil
amount will round down to exchange precision
price will round up to exchange precision
2018-07-29 13:30:34 +00:00
creslinux
894181bf37
Merge remote-tracking branch 'origin/gdax_enabled' into gdax_enabled
...
# Conflicts:
# freqtrade/exchange/__init__.py
2018-07-29 13:29:08 +00:00
creslinux
3b2b318b98
Added price "rate" to be trimmed to the precision the exchange supports
...
Also moved from round() to math.floor / ceil
amount will round down to exchange precision
price will round up to exchange precision
2018-07-29 13:26:04 +00:00
Janne Sinivirta
1bbb86c621
remove nonsense asserts
2018-07-29 16:23:17 +03:00
creslinux
fa7794d704
Merge branch 'sandbox2' into gdax_enabled
...
# Conflicts:
# freqtrade/exchange/__init__.py
2018-07-29 12:41:49 +00:00
pyup-bot
2ef35400c9
Update pytest from 3.6.3 to 3.6.4
2018-07-29 14:24:08 +02:00
pyup-bot
9c7f53d90d
Update ccxt from 1.17.39 to 1.17.45
2018-07-29 14:24:06 +02:00
Matthias
42024134ec
Merge pull request #1092 from freqtrade/revert-1090-ujson-loader
...
Revert "backtesting: try to load data with ujson if it exists"
2018-07-29 12:23:25 +01:00
Matthias
7f27beff4b
Revert "backtesting: try to load data with ujson if it exists"
2018-07-29 13:23:11 +02:00
creslinux
dd71071740
Added logger.info when Sandbox is enabled.
2018-07-29 09:15:13 +00:00
creslinux
c85c7a3a77
Documentation fixes.
2018-07-29 09:12:05 +00:00
creslinux
1e804c0df5
flake 8
2018-07-29 08:10:55 +00:00
creslinux
fc06d028b8
Unit tests for sandbox pass / fail scenarios
...
Big Wave of appreciation to xmatthias for the guidence on how
Mocker works
2018-07-29 08:02:04 +00:00
Matthias
618784d060
Merge pull request #1090 from freqtrade/ujson-loader
...
backtesting: try to load data with ujson if it exists
2018-07-29 08:54:02 +01:00
Samuel Husso
cfcc2e61e5
Merge pull request #1088 from freqtrade/fix/unpatched_mock
...
fix rpc test going to network
2018-07-29 09:53:52 +03:00
Samuel Husso
187e039a58
Merge pull request #1034 from freqtrade/feat/positive_sl_limit
...
add offset for positive trailing stop loss
2018-07-29 08:30:29 +03:00
creslinux
0a059662b3
Submitting with unit test for the working scenario.
...
Strongly recommend core team check the unit test is even targetting the
correct code in exchange/__init__.py
I have a real knowledge gap on mocker, in so far as how tests map to
what they're targeting.
2018-07-28 20:32:10 +00:00
Samuel Husso
cb2fff8909
mypy doesn't handle common idiomacy so disable the line (see the open issue more details)
2018-07-28 22:06:26 +03:00
Samuel Husso
cdd8cc551c
backtesting: try to load data with ujson if it exists
2018-07-28 21:56:11 +03:00
creslinux
8648ac9da2
Update documentation with hot to sandbox test.
...
Allowing end-to-end GDAX API use without risking real money.
2018-07-28 17:42:56 +00:00
Samuel Husso
083befaafc
Merge pull request #1087 from freqtrade/pyup-scheduled-update-2018-07-28
...
Scheduled daily dependency update on saturday
2018-07-28 16:26:38 +03:00
pyup-bot
099e7020c8
Update ccxt from 1.17.29 to 1.17.39
2018-07-28 14:24:06 +02:00
Samuel Husso
6ab8fa8c71
Merge pull request #1079 from creslinux/apiAuthPass
...
add Password option to API login, GDAX as example requires.
2018-07-28 13:53:39 +03:00
creslinux
b2b81c8b2d
Update documentation with hot to sandbox test.
...
Allowing end-to-end GDAX API use without risking real money.
2018-07-27 20:18:12 +00:00
Matthias
243b63e39c
fix rpc test going to network (unsuitable for flights...)
2018-07-27 21:14:41 +01:00
Janne Sinivirta
a3d870ad3e
Merge pull request #1075 from freqtrade/extract_get_history
...
Extract get history from get_signal call
2018-07-27 20:54:20 +03:00
creslin
0c035b276c
Update __init__.py
2018-07-27 17:28:18 +00:00
creslinux
cd5fef615e
This brings GDAX / Coinbase into the fold.
...
FT was sending 18 decimal places on buy/sell amounts.
Not all exchages support this precision.
CCXT provides the precision each pair supports.
This change makes use of that information prior to buy or sell.
2018-07-27 17:15:09 +00:00
Matthias
1ceaa2200a
Merge pull request #1080 from freqtrade/pyup-scheduled-update-2018-07-27
...
Scheduled daily dependency update on friday
2018-07-27 16:06:07 +01:00
Matthias
c8ac98501c
Merge pull request #1081 from sandoche/patch-1
...
Error fixed in the quickstart documentation
2018-07-27 16:05:51 +01:00
Sandoche ADITTANE
ca0d658f15
Error fixed in the quickstart documentation
2018-07-27 15:28:06 +02:00
pyup-bot
4547ae930a
Update ccxt from 1.17.20 to 1.17.29
2018-07-27 14:24:06 +02:00
creslin
40ae250193
Update constants.py
...
Adding UID also, as itll get ran into in future on an exchange that needs it.
2018-07-27 12:19:01 +00:00
creslinux
c47253133a
have to begin before we can stop
2018-07-27 12:07:07 +00:00
creslinux
7efa81073a
Removed ; at line end.
2018-07-27 09:10:09 +00:00
creslinux
d23b3ccc5e
odd cut and paste error fixed.
2018-07-27 08:55:36 +00:00
Matthias
48cd468b6c
Don't do all network calls at once without async
2018-07-27 07:40:27 +01:00
Matthias
df3e76a65d
Remove legacy code, fix missed call
2018-07-26 19:11:51 +01:00
Matthias
f2a9be3684
Adjust tests and remove legacy variable
2018-07-26 19:06:25 +01:00