Commit Graph

425 Commits

Author SHA1 Message Date
Mark Veidemanis 5d75545130
Fix case in strptime string 2022-07-21 13:51:26 +01:00
Mark Veidemanis 6f5fc86c8a
Simplify date handling 2022-07-21 13:51:24 +01:00
Mark Veidemanis bf481ebcee
Fix LBTC message handling 2022-07-21 13:51:21 +01:00
Mark Veidemanis ac7a76a1de
Fix date handling 2022-07-21 13:51:19 +01:00
Mark Veidemanis be3b97ae42
Re-add write_to_es function 2022-07-21 13:51:16 +01:00
Mark Veidemanis c31175fea0
Neaten up various money calls 2022-07-21 13:51:13 +01:00
Mark Veidemanis 1040579d37
Cleanup old libraries 2022-07-21 13:51:11 +01:00
Mark Veidemanis 38caba7d2b
Move stuff in silly places 2022-07-21 13:51:08 +01:00
Mark Veidemanis 22520c8224
Move reference handling code to DB 2022-07-21 13:51:05 +01:00
Mark Veidemanis 6504c440e0
Move common platform code into a Local library 2022-07-21 13:51:03 +01:00
Mark Veidemanis 3a21f61559
Remove redundant code 2022-07-21 13:51:00 +01:00
Mark Veidemanis 1c84277af1
Make cheat system async 2022-07-21 13:50:58 +01:00
Mark Veidemanis 2bf05eafa7
Fix dashboard stuff 2022-07-21 13:50:55 +01:00
Mark Veidemanis f8521eced3
Port trades command to async 2022-07-21 13:50:52 +01:00
Mark Veidemanis d3b4d3ea21
Do not clean up other platforms' trades 2022-07-21 13:50:50 +01:00
Mark Veidemanis 6bf3daee4c
Port some commands to async 2022-07-21 13:50:47 +01:00
Mark Veidemanis 789e27d627
Port source dashboard processes to async 2022-07-21 13:50:45 +01:00
Mark Veidemanis fba0aab966
Port Agora and LBTC API libraries to use treq 2022-07-21 13:50:42 +01:00
Mark Veidemanis 1f0dc33250
Remove Twisted factory noise 2022-07-21 13:50:39 +01:00
Mark Veidemanis 9f8718a83b
Implement async for expensive Nordigen calls 2022-07-21 13:50:37 +01:00
Mark Veidemanis 620adbe123
Set the debug status 2022-07-21 13:50:34 +01:00
Mark Veidemanis ba0b7e03fa
Additional debugging in sinks 2022-07-21 13:50:31 +01:00
Mark Veidemanis 8093835857
Implement debug flag 2022-07-21 13:50:29 +01:00
Mark Veidemanis ea7584703c
Don't send clickable links on LBTC 2022-07-21 13:50:26 +01:00
Mark Veidemanis 36a73e9f41
Fix LBTC ad response parsing 2022-07-21 13:50:24 +01:00
Mark Veidemanis 9fb99d90a3
Log platform from markets 2022-07-21 13:50:21 +01:00
Mark Veidemanis b4a56c8413
Initialise currencies 2022-07-21 13:50:18 +01:00
Mark Veidemanis a222bce6db
Extra attributes for Barclays 2022-07-21 13:50:13 +01:00
Mark Veidemanis 38c82862a4
Allow transactions with no ID to be sent on IRC 2022-07-21 13:50:10 +01:00
Mark Veidemanis f78c351e75
More relaxed field handling 2022-07-21 13:50:08 +01:00
Mark Veidemanis ce234e69f6
Make more fields optional for Nordigen 2022-07-21 13:50:06 +01:00
Mark Veidemanis 6ce722399c
Don't double count Nordigen accounts 2022-07-21 13:50:03 +01:00
Mark Veidemanis 32af22cff4
Fix releasing mapped trades 2022-07-21 13:50:01 +01:00
Mark Veidemanis 2d9c458ce3
Fix LBTC margins 2022-07-21 13:49:58 +01:00
Mark Veidemanis ed3a0ca084
Fix provider in LBTC ad creation 2022-07-21 13:49:55 +01:00
Mark Veidemanis 0c96d13c30
Fix totals 2022-07-21 13:49:53 +01:00
Mark Veidemanis 69e44b9fdb
Fix public ad related LBTC calls and tests 2022-07-21 13:49:50 +01:00
Mark Veidemanis ad21f6fb67
Fix market tests 2022-07-21 13:49:47 +01:00
Mark Veidemanis 75062514c9
Add debugging in release 2022-07-21 13:49:45 +01:00
Mark Veidemanis 3ef24e86c8
Fix map command 2022-07-21 13:49:42 +01:00
Mark Veidemanis 22f708758a
Implement getting user's name 2022-07-21 13:49:39 +01:00
Mark Veidemanis 6e20d8c693
Add error handling to getting bank details 2022-07-21 13:49:37 +01:00
Mark Veidemanis 7d9679f2d5
Add the recipient to the account details 2022-07-21 13:49:34 +01:00
Mark Veidemanis 7f51c7cb4b
Don't print the Agora dashboard message 2022-07-21 13:49:32 +01:00
Mark Veidemanis b76f28a0ec
Remove debugging code 2022-07-21 13:49:29 +01:00
Mark Veidemanis 4a00cbc3ef
Pull minimum feedback score from settings 2022-07-21 13:49:26 +01:00
Mark Veidemanis ae9ecf09c2
Fake the subclass to ease migration 2022-07-21 13:49:24 +01:00
Mark Veidemanis 0ec8476549
Make BBAN optional 2022-07-21 13:49:21 +01:00
Mark Veidemanis 1934852d0d
Xmerge verify class in UX 2022-07-21 13:49:18 +01:00
Mark Veidemanis 680c974437
Pass the real bank details after verification 2022-07-21 13:49:16 +01:00
Mark Veidemanis ac140f6aee
Add platform and fix some calls 2022-07-21 13:49:13 +01:00
Mark Veidemanis 9cc655a6a1
Handle empty transactions response 2022-07-21 13:49:10 +01:00
Mark Veidemanis e53721da8c
Create flag to use alternate configuration directive 2022-07-21 13:49:08 +01:00
Mark Veidemanis 0c374d9a15
Make transactions field optional 2022-07-21 13:49:05 +01:00
Mark Veidemanis 631859a989
Fix LBTC API call endpoints 2022-07-21 13:49:03 +01:00
Mark Veidemanis 132e58735a
Implement webhook callback handling 2022-07-21 13:49:00 +01:00
Mark Veidemanis 4a1c359bf9
Separate out common functions 2022-07-21 13:48:57 +01:00
Mark Veidemanis ba9f99a23f
Add function for getting only some account details 2022-07-21 13:48:55 +01:00
Mark Veidemanis 00d441d17d
Add verification callback 2022-07-21 13:48:52 +01:00
Mark Veidemanis b07dfad37e
Implement getting the link 2022-07-21 13:48:49 +01:00
Mark Veidemanis ae08955d6b
Implement verification commands 2022-07-21 13:48:48 +01:00
Mark Veidemanis ed5fd3dafd
Implement getting the authentication link 2022-07-21 13:48:45 +01:00
Mark Veidemanis 87d96f6c41
Write the initial verification implementation 2022-07-21 13:48:42 +01:00
Mark Veidemanis a4c79973d8
Begin verify class 2022-07-21 13:48:40 +01:00
Mark Veidemanis a1a349a9de
Add LBTC tests 2022-07-21 13:48:37 +01:00
Mark Veidemanis 165fe48234
Filter the currencies in Agora 2022-07-21 13:48:35 +01:00
Mark Veidemanis 9360af7588
Add LBTC ad testing data 2022-07-21 13:48:32 +01:00
Mark Veidemanis 8e867b8133
Move bank name definition 2022-07-21 13:48:29 +01:00
Mark Veidemanis cb70e7ad49
Dump the account JSON as the content is variable 2022-07-21 13:48:27 +01:00
Mark Veidemanis dbf4a78651
Fix datetime parsing 2022-07-21 13:48:24 +01:00
Mark Veidemanis 36b9421846
Notify if no account information found 2022-07-21 13:48:21 +01:00
Mark Veidemanis 0ba5cc38b3
Simplify markets 2022-07-21 13:48:19 +01:00
Mark Veidemanis 506fe82801
Fix tests 2022-07-21 13:48:17 +01:00
Mark Veidemanis 98103c5680
Pass platform to calls 2022-07-21 13:48:15 +01:00
Mark Veidemanis 9b3f36cc44
Account for LBTC time formats 2022-07-21 13:48:14 +01:00
Mark Veidemanis ddee10958f
Make sources platform conscious 2022-07-21 13:48:12 +01:00
Mark Veidemanis d2d74a2086
Add bank name to markets and filter currencies 2022-07-21 13:48:10 +01:00
Mark Veidemanis 6a33b82c28
Update Nordigen mappings 2022-07-21 13:48:08 +01:00
Mark Veidemanis 235e7c5516
Fix ad-related methods in LBTC 2022-07-21 13:48:07 +01:00
Mark Veidemanis e73c1d4dc3
Amend margins code to accept LBTC 2022-07-21 13:48:03 +01:00
Mark Veidemanis 72ce2704a6
Account for LBTC in lookup_rates 2022-07-21 13:48:01 +01:00
Mark Veidemanis f39e6112e4
Handle LBTC in autoprice 2022-07-21 13:48:00 +01:00
Mark Veidemanis 7cfeb95b10
Provide the provider to market and money functions 2022-07-21 13:47:59 +01:00
Mark Veidemanis c173e9d232
Add LBTC totals to ES cast 2022-07-21 13:47:57 +01:00
Mark Veidemanis 05bdc5f1e3
Port releasing trades to LBTC 2022-07-21 13:47:55 +01:00
Mark Veidemanis e5b7f29346
Port distributing account details to support LBTC 2022-07-21 13:47:53 +01:00
Mark Veidemanis 0e4fa8a0bb
Implement LBTC when getting wallet balances 2022-07-21 13:47:52 +01:00
Mark Veidemanis e751fcd39d
Implement LBTC versions of each command 2022-07-21 13:47:50 +01:00
Mark Veidemanis 1c702cd755
Fix transactions tests 2022-07-21 13:47:48 +01:00
Mark Veidemanis 84d0d3aa7c
Reformat to reduce line length 2022-07-21 13:47:46 +01:00
Mark Veidemanis 1501cd0db3
Implement generic command types 2022-07-21 13:47:45 +01:00
Mark Veidemanis be356c2721
Reformat to reduce line length 2022-07-21 13:47:43 +01:00
Mark Veidemanis 6dbed22e49
Implement LBTC authentication 2022-07-21 13:47:41 +01:00
Mark Veidemanis 6a130592b6
Allow blank senders for first attempts 2022-07-21 13:47:36 +01:00
Mark Veidemanis 94429d0aaa
Implement sender-based anti-fraud system 2022-07-21 13:47:33 +01:00
Mark Veidemanis fec536616d
Add extra Serde mappings for transaction data 2022-07-21 13:47:30 +01:00
Mark Veidemanis b14a07b3b2
Refactor transactions into readable code 2022-07-21 13:47:28 +01:00
Mark Veidemanis 9151ab3ba6
Create settings options for different sinks 2022-07-21 13:47:25 +01:00
Mark Veidemanis f85342dc2e
Implement removing accounts from Nordigen 2022-07-21 13:47:23 +01:00
Mark Veidemanis a7a2bb729c
Better format for ntransactions 2022-07-21 13:47:20 +01:00