|
|
2206091d49
|
added the rest of the spot_margin endpoints, added the otc endpoints
|
2021-05-14 01:18:34 +02:00 |
|
|
|
a60df73bfc
|
more usage of the validate function
|
2021-05-14 00:29:05 +02:00 |
|
|
|
69558c8678
|
created an exceptions module, created a helper function to validate fields, started deploying it.
|
2021-05-13 18:33:37 +02:00 |
|
|
|
aacff9e514
|
set default K line resolution to FTX's default
|
2021-05-13 17:44:39 +02:00 |
|
|
|
f80aa1b862
|
decorated the section markers
|
2021-05-13 16:56:30 +02:00 |
|
|
|
ff863e9a1c
|
removed all 'upper()' calls, removed a couple of unnecessary comments, reformatted with black
|
2021-05-13 16:54:44 +02:00 |
|
|
|
acb991aaa0
|
no need to call 'lower()' on scope since it's only fed in by well-controlled private methods. reversed the if/else for scope to return the simpler path
|
2021-05-13 16:50:13 +02:00 |
|
|
|
926ecfeac6
|
return early from 'build_headers' if it's a public endpoint. shortened up building of headers in the 'private' path too.
|
2021-05-13 16:47:51 +02:00 |
|
|
|
9bcd144858
|
added requirements.txt, added rate limiting
|
2021-05-12 22:05:55 +02:00 |
|
|
|
47ec6ecefc
|
bugfix
|
2021-05-12 21:32:54 +02:00 |
|
|
|
134c54c895
|
type hints are pretty much complete, PEP8 for line length mostly, fixed a small bug in getting balances
|
2021-05-12 21:20:24 +02:00 |
|
|
|
765a62e502
|
added some type hints, made 'query' optional for only one helper method
|
2021-05-12 20:07:14 +02:00 |
|
|
|
05902f9b7c
|
created _GET _POST _DELETE methods to shorten up the API methods some more
|
2021-05-11 14:55:00 +02:00 |
|
|
|
3135f23089
|
replaced 'scope' argument with a lookup
|
2021-05-11 14:46:26 +02:00 |
|
|
|
bc41813e3f
|
shortened up the rest of the method bodies with build_query
|
2021-05-11 14:16:08 +02:00 |
|
|
|
9fcbc25493
|
shortened method names
|
2021-05-11 14:01:08 +02:00 |
|
|
|
cfc129c701
|
reformatted
|
2021-05-11 13:53:52 +02:00 |
|
|
|
8a996c57ed
|
introduced build_query to shorten up the code considerably, replacing the pattern of building a query with optional kwargs
|
2021-05-11 13:53:30 +02:00 |
|
|
|
d639c0bbde
|
reformatted all modules with black
|
2021-05-11 13:45:27 +02:00 |
|
|
|
37fe95cb46
|
validate K line resolution, introduce default
|
2021-05-11 13:45:11 +02:00 |
|
|
|
719061ce3d
|
renamed unnecessarily truncated instance attribute
|
2021-05-11 13:30:08 +02:00 |
|
|
|
87fe389cbd
|
started renaming the methods to be more succinct. raise an exception if there's an 'error' in the response. replace all '\!= None' with 'is not None'. Started making 'limit' draw from a constant, and made it optional -- at least in one method so far. Added some type hints and custom types.
|
2021-05-11 13:24:53 +02:00 |
|
|
|
c4afdc294f
|
added a setup.py to make the package pip installable, added an overly simple .gitignore
|
2021-05-11 12:42:19 +02:00 |
|
Lee Chun Hao
|
8fa6887218
|
Update Intro
|
2021-01-17 13:37:26 +08:00 |
|
Lee Chun Hao
|
834831f1db
|
L
|
2021-01-17 13:36:31 +08:00 |
|
Lee Chun Hao
|
5db3d1dce4
|
Add intro of positions
|
2020-12-24 23:13:36 +08:00 |
|
Lee Chun Hao
|
bc651938b8
|
Add intro of positions
|
2020-12-24 23:11:54 +08:00 |
|
Lee Chun Hao
|
b2e6d42fb7
|
Add intro of positions
|
2020-12-24 22:57:26 +08:00 |
|
Lee Chun Hao
|
bdcdccc0bb
|
Add intro of positions
|
2020-12-24 22:56:08 +08:00 |
|
Lee Chun Hao
|
b6ceaf9c6d
|
Add intro of positions
|
2020-12-24 22:55:28 +08:00 |
|
Lee Chun Hao
|
83489a3881
|
Add intro of positions
|
2020-12-24 22:53:14 +08:00 |
|
Lee Chun Hao
|
f8b363d2c7
|
Add intro of positions
|
2020-12-24 22:52:51 +08:00 |
|
Lee Chun Hao
|
9e01309aab
|
Add intro of positions
|
2020-12-24 22:52:27 +08:00 |
|
Lee Chun Hao
|
7fd7fe0550
|
Add intro of positions
|
2020-12-24 22:50:18 +08:00 |
|
Lee Chun Hao
|
c049d16f4f
|
Add Spot Margin Support
|
2020-12-24 07:12:46 +08:00 |
|
Lee Chun Hao
|
a0f160d941
|
Add Spot Margin Support
|
2020-12-24 07:11:35 +08:00 |
|
Lee Chun Hao
|
fa0a1909e5
|
Add update history
|
2020-12-24 05:43:01 +08:00 |
|
Lee Chun Hao
|
7584152f73
|
Add update history
|
2020-12-24 05:39:03 +08:00 |
|
Lee Chun Hao
|
d828b078ff
|
Fixed cancel order bug
|
2020-12-24 00:30:45 +08:00 |
|
Lee Chun Hao
|
8cc2364545
|
Fixed urllib
|
2020-12-04 15:29:30 +08:00 |
|
Lee Chun Hao
|
50ae38dbe4
|
Fixed get_public_all_futures
|
2020-10-16 09:05:30 +08:00 |
|
Lee Chun Hao
|
0aae6f6051
|
initial commit
|
2020-10-07 17:27:12 +08:00 |
|
Lee Chun Hao
|
73dc06a998
|
add single funding rates
|
2020-10-01 22:27:39 +08:00 |
|
Lee Chun Hao
|
aed1196ecf
|
add single balance
|
2020-09-28 20:13:02 +08:00 |
|
Lee Chun Hao
|
d06b6499c7
|
rename license
|
2020-09-28 08:25:59 +08:00 |
|
Lee Chun Hao
|
8001ecb14c
|
path
|
2020-09-27 14:09:46 +08:00 |
|
Lee Chun Hao
|
682ac58080
|
Add get all perpetual futures
|
2020-09-23 05:08:34 +08:00 |
|
Lee Chun Hao
|
e0ef130331
|
Update response
|
2020-09-20 06:58:54 +08:00 |
|
Lee Chun Hao
|
1c536b3a12
|
Add SRM Stake Func
|
2020-09-19 08:48:44 +08:00 |
|
Lee Chun Hao
|
0fa4599f70
|
Update Response
|
2020-09-18 15:07:48 +08:00 |
|