-
Notifications
You must be signed in to change notification settings - Fork 3
/
loader.py
57 lines (53 loc) · 1.5 KB
/
loader.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from dotenv import load_dotenv
from os import getenv as env
load_dotenv()
budget = 10001
gap = 0.01
tgu = env('tgu')
URL_SRC = "https://p2p.binance.com/bapi/c2c/v2/friendly/c2c/adv/search"
URL_TG = f'https://api.telegram.org/bot{env("bot")}/'
URL_OL = "https://p2p.binance.com/bapi/c2c/v2/private/c2c/order-match/order-list"
hds = {
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36',
'content-type': 'application/json',
'csrftoken': env('csrf'),
'cookie': env('cookie'),
'clienttype': 'web',
}
banks = {
"Tinkoff": "15860114",
"RosBank": "19992446",
"YandexMoney": "16022887",
"QIWI": "20023779",
"PostBankRussia": "",
"UralsibBank": "",
"RaiffeisenBankRussia": "",
"BCSBank": "",
"HomeCreditBank": "",
"AkBarsBank": "",
"VostochnyBank": "",
"RussianStandardBank": "",
"ABank": "",
"MTSBank": "",
# "BANK",
# "RUBfiatbalance": "16026051",
# "Advcash": "17746422", # R
# "Advcash": "17746495", # U
# "Advcash": "17746529", # E
# "Payeer": "17750004",
# "CashInPerson": "17750292",
# "CashDeposit": "17750509",
# "CitibankRussia",
# "UniCredit",
# "CreditEuropeBank(Russia)",
# "RenaissanceCreditBank",
# "OTP",
# "SpecificBank": "17745533",
# "CashinPerson",
# "CashDeposittoBank",
# "Mobiletop-up",
# "SBP-FastBankTransfer",
# "Sberbank",
# "Alfa-bank",
# "BankSaint-Petersburg",
}