Skip to content

Commit

Permalink
ignore env
Browse files Browse the repository at this point in the history
  • Loading branch information
uv-orbs committed Jul 21, 2022
1 parent c1db87f commit 093d575
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.venv/
.venv/
.env
7 changes: 4 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@

# get tomorrow
dt = datetime.now() + timedelta(days=1)
tom = dt.strftime("%d%b%y").upper()
#tom = dt.strftime("%d%b%y").upper()
expiry = os.getenv('EXPIRY')

# 21JUL22
# get strike
strike = int(os.getenv('STRIKE'))
#################################################################
chans = [
f'ticker.BTC-{tom}-{strike}-C.100ms',
f'ticker.BTC-{tom}-{strike}-P.100ms',
f'ticker.BTC-{expiry}-{strike}-C.100ms',
f'ticker.BTC-{expiry}-{strike}-P.100ms',
]
msgSub = \
{
Expand Down

0 comments on commit 093d575

Please sign in to comment.